R
Ray Mitchell
Does anyone know where I can find a grammar definition for C99? Thanks.
Annex A of the C standard contains the lexical grammar.Does anyone know where I can find a grammar definition for C99? Thanks.
I think the C programming language book by K & R has an appendix
covering the lexical part of the language.
Refer to the document in the below URL:
http://www.open-std.org/JTC1/SC22/WG14/www/C99RationaleV5.10.pdf
Richard said:[ Do not top-post. Corrected. ]
I think the C programming language book by K & R has an appendix
covering the lexical part of the language.
That doesn't cover C99, but (almost) C89. Ray Mitchell asked
specifically for C99.
Refer to the document in the below URL:
http://www.open-std.org/JTC1/SC22/WG14/www/C99RationaleV5.10.pdf
That _does_ cover C99, but doesn't have a grammar definition.
n1124.pdf (do a websearch, I don't have a URL at hand) does contain the
whole grammar, but spread through the document. http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf
Richard
shaanxxx said:
http://www.open-std.org/jtc1/sc22/wg14/www/standardsRay said:Does anyone know where I can find a grammar definition for C99? Thanks.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.