Lambda the Ultimate

inactiveTopic smgn: Rapid Prototyping of Small Domain-Specific Languages
started 10/22/2002; 7:43:29 AM - last post 10/23/2002; 3:58:42 AM
Ehud Lamm - smgn: Rapid Prototyping of Small Domain-Specific Languages  blueArrow
10/22/2002; 7:43:29 AM (reads: 1668, responses: 1)
smgn: Rapid Prototyping of Small Domain-Specific Languages
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

Ehud Lamm - Re: smgn: Rapid Prototyping of Small Domain-Specific Languages  blueArrow
10/23/2002; 3:58:42 AM (reads: 537, responses: 0)
BTW, as far as I can tell, smgn's macro language doesn't help you with any language constructs like enviornments, store etc.