smgn: Rapid Prototyping of Small Domain-Specific Languages. Holger Kienle and David Moore, Special Issue on Domain-Specific Languages, Journal of Computing and Information Technology (CIT), Volume 10, Number 1, pages 37-53, 2002.
smgn looks like a small and sweet system for building simple DSLs.
smgn works by parsing the DSL, using a grammer file, and then invoking a user supplied program written in a parse tree processing language (another DSL, of course). Thus, the system is based on concrete syntax rather the ASTs.
The tree processing language (the paper calls it the "macro language") was originally designed for HTML processing, and looks a bit like XSLT.
The paper describes some systems that used smgn. It would be interesting to hear if anyone else has tried it.
(Postscript version)
Posted to DSL by Ehud Lamm on 10/22/02; 7:50:20 AM
|
|