|LL(1) C grammar firstname.lastname@example.org (1991-06-17)|
|Re: LL(1) C grammar email@example.com (1991-06-18)|
|From:||firstname.lastname@example.org (J. Horsmeier)|
|X-Organization:||AND Software bv Westersingel 108 3015 LD Rotterdam The Netherlands|
|Organization:||AND Software BV Rotterdam|
|X-Fax:||+31 (10) 436 7110|
|Date:||17 Jun 91 10:20:39 GMT|
|X-Phone:||+31 (10) 436 7100|
anyone out there having (knowing of) a LL(1) grammar for `C'. ANSI or K&R or
both would be fine.
I'm just interested in the syntax, no semantics embedded in the syntax of the
grammar (e.g. operator precedence). This would greatly reduce the complexity
of the syntax (I think). I'm currently working on a low profile project:
Reference document generation, given `C' source files.
The thing is supposed to generate `frames' of reference manuals. We are
working with a home brew LL(1) parser generator, including a lex look alike
NFA->DFA regular expression scanner. For several reasons (interpretation
versus compilation, incremental parser building etc.), we do not want to use
lex/yacc. Ambiguities (shift/reduce, non factored rules etc.) are okay, the
generator can deal with them ...
thanx in advance,
J.A. Horsmeier AND Software B.V. phone : +31 10 4367100
Westersingel 106/108 fax : +31 10 4367110
3015 LD Rotterdam NL e-mail: email@example.com
[I know of several yacc grammars, but no LL(1) grammar other than the one
implicitly in the Ritchie C compiler. -John]
Return to the
Search the comp.compilers archives again.