Writing a parser
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mike_James
Posted On:   Thursday, March 26, 2009 09:17 AM

Im trying to turn this grammar into a parser. Im new to ANTLR and parsers and grammars. keywords are: machine, pragma, state, initial, final, on, goto, other, print, printline. Please help.
Thank you

::= machine ;
::= pragma ; | null
::= | ,
::= |
::= state { }
::= initial | null
::= final | null
::=
::= | null
::= on goto ;
::= other |
::= | ,
::= print | printline | null
::= | ,
::= |
::= currentInputString

About | Sitemap | Contact