[antlr-interest] Re: aspectANTLR sketch

mzukowski at yci.com mzukowski at yci.com
Wed Jun 19 15:19:39 PDT 2002


The fnc-2 manual.ps has an attribute grammar tutorial.  The html version
suffered a bit from translation from tex or whatever it was.  

http://www-rocq.inria.fr/oscar/prog/unix/fnc2/eng.htm

Do you see any validity to wanting to override a rule but not change its
syntax?  

Monty

> -----Original Message-----
> From: lgcraymer [mailto:lgc at mail1.jpl.nasa.gov]
> Sent: Wednesday, June 19, 2002 1:35 PM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Re: aspectANTLR sketch
> 
> 
> Monty--
> 
> For Attribute Grammar Systems, 
> <http://dmoz.org/Computers/Programming/Compilers/Attribute_Grammar_Sys
> tems/> lists a useful set to which I would add Phillips Labs Elegant 
> system (the home page has temporarily? disappeared; I'll send you 
> the Elegant documentation files); a Google search on "Attribute 
> Grammars" will get you more.
> 
> On composition of grammars:  This is a pretty important 
> capability:  lexers for most procedural languages look very similar, 
> as do expression parsers.  I agree with Ter that grammar inheritance 
> isn't the right approach, but rule inheritance probably would be.  
> What you describe for noweb use sounds like a "poor man's" 
> approach to 
> rule database management; for 3.0, I expect that we would have the 
> resources (people and time) to do something more. I'd like to see a 
> flexible rule database manager incorporated into an ANTLR IDE--it 
> should be able to add rules into the database by processing .g files.
> 
> --Loring  
> 
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/ 
> 
> 

 

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



More information about the antlr-interest mailing list