[antlr-interest] Re: Syntatic predicates...

izniegoed klaren at cs.utwente.nl
Tue May 18 15:06:48 PDT 2004


Hi,

(gah deleted the mail from my default mailer so praying the html
interface won't blow up in my face :/ )

--- In antlr-interest at yahoogroups.com, Tom Verbeure <hombre at g...> wrote:
> To put things in context: I am trying to convert the parts of the bnf
> description of the VHDL language into ANTLR. The BNF is full of
> ambiguities. I've used a bunch of existing ANTLR and non-ANTLR
> grammars for VHDL and ADA as a guide, but still like to redo parts
> myself just to get a full grasp of how to build a decent parser *and*
> to learn features of the language. (Writing a parser force me to
> explore language constructs that, before, I never considered to be
> sematically correct, even after reading the official language
> specification.)

Are you familiar with the CCTB based VHDL parser/lexer/frontend listed
here:

http://www.vhdl.org/vi/comp.lang.vhdl/FAQ3.html

Which refers to a ftp here:

ftp://ftp.cs.utwente.nl/pub/src/VHDL/

CCTB or cocktail is a LL(1) parser tool with so the grammar might be
interesting to look at.. (although the treeparser/transformer parts
might not translate well to antlr)

CCTB's syntax is not that far away from antlr's.

Cheers,

Ric




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list