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

lgcraymer lgc at mail1.jpl.nasa.gov
Tue May 18 15:54:14 PDT 2004


<http://www.ececs.uc.edu/~paw/savant/> is also relevant; SAVANT used
to be in the showcase (and may still be).  It includes an LL(2) PCCTS
grammar for VHDL that might be a useful starting point.

--Loring


--- In antlr-interest at yahoogroups.com, Ric Klaren <klaren at c...> wrote:
> Hi,
> 
> On Tue, May 18, 2004 at 10:06:48PM -0000, izniegoed wrote:
> > (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.
> 
> I suddenly recall that it might be using the lalr parser of the
toolbox and
> not the ll(1) parser.. so this might not be interesting to look at .. :/
> 
> Cheers,
> 
> Ric
> --
>
-----+++++*****************************************************+++++++++-------
>     ---- Ric Klaren ----- j.klaren at u... ----- +31 53 4893755  ----
>
-----+++++*****************************************************+++++++++-------
>      Human beings, who are almost unique in having the ability to learn
>    from the experience of others, are also remarkable for their apparent
>          disinclination to do so. --- Douglas Adams, Last Chance to See



 
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