Hi
Using this example:
http://www.nongnu.org/bnf/#example
I created a sample.bnf file, converted to .C file uning bnf binary, created additional .C file with the function call (as in example), linked both with:
gcc -c sample.c sample1.c
compiled with
gcc sample.o sample1.o -o sample
and now what ?
It's supposed to convert "foo" to "bar" somehow but after running "sample" the program looks like it's waiting for an input but I write foo, ENTER nad nothing happens, same as when witing "sample foo" from shell
[EDIT]
To get the parser you best follow instructions under "anonymous cvs access":
http://savannah.nongnu.org/cvs/?group=bnf
Thanks in advance!