Hi Bob,

Have just written my first language, which is also quite C-ish, while
learning ANTLR at the same time my advice would be slightly different
to Jim's.  Yes, it's really helpful to start from an example.  No,
don't start with a giant C grammar because you're likely to get lost.
That was my experience.

Terence's really simple C-minus example in the ANTLR book got me
started.  After that I found it helpful to just look at little bits of
other grammars when I was looking for ways of implementing a
particular feature.  I found the Python grammars on the ANTLR site
very helpful, even though my language is not pythonesque...

Hope this helps

Michael

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to