I'm looking for some ANTLR v3 examples, I tried googling a bit but I found certain things which didn't fit my requirments. I found the Mantra project, but it's statically typed and is 'too' big for me at this moment, then I found 'pie' as interpreter, which is dynamically typed, which what I want, but it uses a syntax-directed interpreter.
I'm looking for a pretty small language which is dynamically typed and uses AST's if possible. It doesn't need to be advanced, if it would have classes I would already be very happy.
I don't really care about the target language, as I already have experience with most of the target languages of ANTLR v3, and code isn't that hard to read much.
Thanks,
William van Doorn
Physicalc sounds like it may be what you're after.
EDIT - as per comments: Here is my work-in-progress toy language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With