Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 355 Bytes
http://github.com/BNFC/bnfc
https://github.com/BNFC/bnfc/blob/383d1a64fa799554d2d786d0b437ab15e5a93d8e/examples/C/C4.cf
C4.cf
A small subset of C. Used to teach programming language construction and bnfc to students at chalmers. It should be enough to parse koe2.c
Grammar in a broad sense fetched automatically by Vadim Zaytsev, http://grammarware.net