I am trying to create a simple interpreted language for learning. I read countless theory and tutorials on ANTLR and JavaCC, but I can't figure out how to actually get her to do something useful.
I’d best learn how to “take away something separately and combine again”, so are there any working examples of simple languages implemented with tools like ANTLR or the like?
It might seem something like the following:
x = 1 if x == 1 print "true"
java interpreter antlr
etheros
source share