Validating against the notation3 grammar. See
Input some text to test:
make: Entering directory `/usr/local/yacker/W3C/Grammar/bin/uploads/notation3' bison -d -o notation3Parser.c notation3Parser.y gcc -g -I . -I/incl -c notation3Parser.c notation3Parser.c:96: error: expected identifier before 'double' notation3Parser.y: In function 'yyparse': notation3Parser.y:146: error: 'driver' undeclared (first use in this function) notation3Parser.y:146: error: (Each undeclared identifier is reported only once notation3Parser.y:146: error: for each function it appears in.) In file included from notation3Parser.y:843: /usr/include/stdlib.h: At top level: /usr/include/stdlib.h:145: error: expected identifier or '(' before numeric constant /usr/include/stdlib.h:165: error: expected identifier or '(' before numeric constant /usr/include/stdlib.h:277: error: expected identifier or '(' before numeric constant /usr/include/stdlib.h:283: error: expected identifier or '(' before numeric constant In file included from notation3Parser.y:843: /usr/include/stdlib.h:508: error: expected identifier or '(' before numeric constant /usr/include/stdlib.h:509: error: expected identifier or '(' before numeric constant /usr/include/stdlib.h:542: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:542: error: nonnull argument with out-of-range operand number (argument 1, operand 2) /usr/include/stdlib.h:545: error: expected declaration specifiers or '...' before numeric constant In file included from notation3Parser.y:843: /usr/include/stdlib.h:814: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:815: error: nonnull argument with out-of-range operand number (argument 1, operand 4) /usr/include/stdlib.h:820: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:821: error: nonnull argument with out-of-range operand number (argument 1, operand 4) /usr/include/stdlib.h:826: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:827: error: nonnull argument with out-of-range operand number (argument 1, operand 3) /usr/include/stdlib.h:832: error: expected ';', ',' or ')' before numeric constant /usr/include/stdlib.h:835: error: expected ';', ',' or ')' before numeric constant /usr/include/stdlib.h:838: error: expected ';', ',' or ')' before numeric constant /usr/include/stdlib.h:844: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:846: error: nonnull argument references non-pointer operand (argument 1, operand 5) /usr/include/stdlib.h:847: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:849: error: nonnull argument references non-pointer operand (argument 1, operand 5) /usr/include/stdlib.h:851: error: expected ';', ',' or ')' before numeric constant /usr/include/stdlib.h:855: error: expected ';', ',' or ')' before numeric constant /usr/include/stdlib.h:954: error: expected declaration specifiers or '...' before numeric constant /usr/include/stdlib.h:955: error: nonnull argument references non-pointer operand (argument 1, operand 1) make: *** [notation3Parser.o] Error 1 make: Leaving directory `/usr/local/yacker/W3C/Grammar/bin/uploads/notation3'