Are there any simple languages implemented using ANTLR or similar?
Posted
by etheros
on Stack Overflow
See other posts from Stack Overflow
or by etheros
Published on 2010-03-20T15:05:56Z
Indexed on
2010/03/20
15:11 UTC
Read the original article
Hit count: 316
I'm trying to build a simple interpreted language for learning purposes. I've read countless theory and tutorials on ANTLR and JavaCC, but I can't figure out how to actually make it do something useful.
I learn best by "taking something apart and putting it back together again", so, are there any working examples of simple languages implemented with the help of tools such as ANTLR, or similar?
Something like the following might be nice:
x = 1
if x == 1
print "true"
© Stack Overflow or respective owner