4 ms·
Unfortunately, most people agree that the ast package is a mess. It isn't used by the actual compiler. There is some talk of eventually deprecating it and publi
by nemo1618 10y ago
Unfortunately, most people agree that the ast package is a mess. It isn't used by the actual compiler. There is some talk of eventually deprecating it and publishing the internal ast/parser/type-checker packages.
- edsrzf 10y agoI think calling it a "mess" is hyperbole, but yes, it's true that it has shortcomings and may be deprecated and replaced.
- placeybordeaux 10y agoI've used it before for a tool that transforms code that throws away an error code to code that takes the error code and panics if not nil. https://github.com/placeybordeaux/panic-attack https://github.com/placeybordeaux/panic-attack The package works fine, but I can't say it was fun to work with.