5 ms·
Truffle has no opinion on how you parse the sources. It cares about how you execute them from an intermediate Truffle guided representation produced by the pars
by grashalm 3y ago
Truffle has no opinion on how you parse the sources. It cares about how you execute them from an intermediate Truffle guided representation produced by the parser.
In other words antlr and truffle are a great fit. We even use this pairing for our example language simplelanguage.
https://github.com/graalvm/simplelanguage https://github.com/graalvm/simplelanguage
- Hixon10 3y agoThanks! I haven't seen before usage of Truffle and ANTLR together, but it makes sense.