Hacker News new | ask | show | jobs
by grashalm 861 days 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

1 comments

Thanks! I haven't seen before usage of Truffle and ANTLR together, but it makes sense.