Hi. I didn't see an example really where it shows it creating something other 
than a simple parse tree. Can you point me an example?
T
On Jan 11, 2012, at 7:48 PM, John B. Brodie wrote:

> Sorry to reply to my own messeage...
> 
> On 01/11/2012 10:29 PM, John B. Brodie wrote:
>> Greetings!
>> 
>> Have you looked at the mechanism of the BNF Converter?
>> see http://www.cse.chalmers.se/research/group/Language-technology/BNFC/
>> 
>> yes it is based around YACC-like lalr parser generators
>> 
>> but i like its mechanic for tree generation
>> 
>> i have only used it for generating Haskell
>> 
>> it claims to produce Java (and C and C++ and ...)
> 
> I do not mean to advocate the data structure it generates (altho the 
> generated Haskell is not so bad).
> 
> I am more suggesting its meta syntax used in the grammar input that in 
> turn drives creation of a tree.
> 
> So use BNFC's meta-syntax and create a data structure you are 
> comfortable with from that...
> 
>> 
>> hope this is not tooooo off base
>> 
>> thankx
>>   -jbb
>> 
> 
> _______________________________________________
> antlr-dev mailing list
> [email protected]
> http://www.antlr.org/mailman/listinfo/antlr-dev

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to