File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaCC Tutorials

 
Cody Long
Ranch Hand
Posts: 95
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
-bump-
 
Cody Long
Ranch Hand
Posts: 95
  • 0
  • 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
Pie
Posts: 47300
52
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic