[antlr-interest] little languages for antlr book

Bernardo Elayda belayda at usfca.edu
Sun Sep 10 23:17:47 PDT 2006


Hi,
I would recommend that you use the MCS, EXO, and/or JEDEC file formats as small 
grammars.

The grammars are publicly available and small  Anyone who has to writes a compiler for am 
embeded processor 
will eventually have to create an output in at least 1 of these 3 file formats for their target 
design.  The 
grammars are small and have simple sematnci checks.  For example, the MCS format adds up 
the data bytes of 
a 'row' into a byte checksum.

Regards,
Bernardo Elayda


----- Original Message -----
From: Terence Parr <parrt at cs.usfca.edu>
Date: Thursday, September 7, 2006 5:08 pm
Subject: [antlr-interest] little languages for antlr book
> Howdy,
> 
> So, we need a bunch of small domain specific languages for the 
> antlr  
> book.  I'm thinking of things on the level of config files (no XML  
> for this!), simple XML, a simple interpreted language, simple  
> graphics language, java -> class hierarchy generator (using DOT  
> format), ...
> 
> Care to suggest some simple languages or simple tasks on languages  
> for which grammars are available?
> 
> Thanks,
> Ter
> 


More information about the antlr-interest mailing list