Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 787 Bytes
http://www.txl.ca/nresources.html:
↳ http://www.txl.ca/examples/Grammars/C/README.txt
↳ http://www.txl.ca/examples/Grammars/C/C.tar.gz
↳ C.Grm
TXL Base Grammar for ANSI and K+R C
Author: A Malton, University of Waterloo, Feb 2002
Based on the TXL release ANSI C 7.0 grammar by
J.R. Cordy, Queen's University, January 1994
This is a TXL base grammar for C, including
* ANSI features (e.g. literal string concatenation)
* old-style (K&R) function parameters
but excluding:
* preprocessor directives
* comments
* C++ features
* string literal
C and C++ style comments are accepted but not parsed.
For other information, consult the 'malton-dahn' sibling directory.
Grammar extracted and added to the Grammar Zoo on 21 March 2013 by Vadim Zaytsev.