[comp.lang.c] BNF grammar for C language

jclark@aplcen.apl.jhu.edu (Clark James ) (11/30/90)

Can anyone post C grammar in BNF format here or email to
my account.  Thanks.

akcs.kochin@tronsbox.xei.com (Kochin Chang) (12/01/90)

My opinion about your second question is that you can set the terminal
to RAW mode.  In RAW mode, you have fully control on the input character.
Then you can check each input character to see if it is a valid octal
digit.

You can find infomation from many books (one book I have is "UNIX SYSTEM
PROGRAMMING" by K. Haviland and B. Salama).  You also can read the EMACS
source code (if you can access it) to see how it's used.


Kochin Chang

akcs.kochin@tronsbox.xei.com