Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 724 Bytes
http://github.com/BNFC/bnfc
https://github.com/BNFC/bnfc/tree/master/examples/C
https://github.com/BNFC/bnfc/blob/b3ae78b95edd2fee933c58bf00a57d95cfb4d024/examples/C/C.cf
C.cf
Ansi C, following Kernighan & Ritchie (Second Edition). Developed by Ulf Persson is 2003 as part of a BSc thesis at Chalmers University of Technology
Ansi C, following Kernighan & Ritchie (Second Edition).
(c) Ulf Persson 2003
part of BSc thesis at Chalmers University of Technology
NOTICE: the C program may need to be preprocessed by cpp. Also types defined
by typedefs have to be eliminated (these are known problems with the
BNF grammar of Ansi C).
Grammar in a broad sense fetched automatically by Vadim Zaytsev, http://grammarware.net