[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grammar checker

hi everyone,

is there a grammar checker for a generic language available?

what i mean is:
given the BNF/EBNF definition of a language, and a program written in that
language, i would like to be able to check for the program's syntactic
correctness.   therefore, i would like to have a program that has a section
that defines the grammar of the language, e.g.:

(define production-rules
     (<fname> <id>)      ; <fname> ::= <id>
   other productions...

so that i can change that part to the grammar of my own language...

i think this is something that is quite commonly done..... so if anyone
has the code for it, would you please send it to me?

many many thanks!!!

please email to ppc1@cec1.wustl.edu