Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaCC Tutorials  RSS feed

 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone point me to some JavaCC tutorials? Preferably a tutorial that starts from scratch and writes a minimal language if possible.

I have already looked at this tutorial and made the calculator and added the modulus function. But i am confused on how to continue on with making my mini language.

Any help would be appreciated. Thank you.
 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
-bump-
 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have decided to use ANTLR instead becuase there seems to be more documentation and tutorials out there about it. So no need to post any replies.
 
Campbell Ritchie
Sheriff
Posts: 53769
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to write a grammar for your language, and make sure it is context-free.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!