Hi Tim,

On Tue, Jun 23, 2009 at 11:11 PM, Tim Black<[email protected]> wrote:
> Can someone point me in the right direction?

we are doing something very similar in my research group. We have a
lightweight ADL (https://diaspec.bordeaux.inria.fr/) from which we
generate a dedicated framework in Java.

Source-code is available in
https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/diagen/branches/v2/?root=diagen
(see projects DiaSpec-Parser and DiaSpec-Generator).

Basically, we have a grammar file DiaSpec.g which generates an AST
with specific node classes (Program, Device, TypeRef...). Then,
DiaSpec_SEM_1.g verifies different things on the AST, this is the
semantic pass. Finally, I use a visitor on the AST and StringTemplate
to generate java files (in DiaSpec-Generator).

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to