Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: "compiler.ddj@h-rd.org" Newsgroups: comp.compilers Subject: grammar based programming Date: Mon, 08 Aug 2011 20:50:18 +0200 Organization: Compilers Central Lines: 23 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-08-010@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: gal.iecc.com 1312840757 13653 64.57.183.58 (8 Aug 2011 21:59:17 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Mon, 8 Aug 2011 21:59:17 +0000 (UTC) Keywords: parse, question Posted-Date: 08 Aug 2011 17:59:17 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: x330-a1.tempe.blueboxinc.net comp.compilers:227 Dear compilers readers, recently I got interested in trying to use a grammar like approach to programming. My ideas were a bit inspired by PEG implementations and their usual capability of semantic actions. Basically programming in something like BNF. Do you know some references or links or the proper name for grammar based programming? I only found two papers: Constructing Programs as Executable Attribute Grammars by Frost ( http://cs.uwindsor.ca/~richard/PUBLICATIONS/COMPJ_92.pdf ) Programming with Grammars by Hehner ( http://www.cs.toronto.edu/~hehner/PwG.pdf ) I would be glad to hear from anything you have heard about this. Maybe? it is known in the compiler community under a different name. thanks, Marc compiler.ddj@h-rd.org