1 May 03:50
working on a C grammar
From: Michael FIG <michael@...>
Subject: working on a C grammar
Newsgroups: gmane.comp.lang.smalltalk.fonc
Date: 2008-05-01 01:54:10 GMT
Subject: working on a C grammar
Newsgroups: gmane.comp.lang.smalltalk.fonc
Date: 2008-05-01 01:54:10 GMT
Hi all, I was wondering if any of you out there have a freely licensed PEG for C? I'm interested in combining it with a C preprocessor grammar to start interpreting (or compiling via Slink) some C code. With a little work, this would be extensible to handle Id code, and then we'd be one step closer to bootstrap. If not, I have at least a decent BNF reference at http://ivs.cs.uni-magdeburg.de/~puma/UsersManual/HTML/node12.html though I would rather start from something that has all the operator precedences completed in PEG format. Thanks, -- -- Michael FIG <michael@...> //\ http://michael.fig.org/ \//
RSS Feed