Is there any C-grammar that AST generates that includes all the parsing rules using "^" and "!". notations?
I read a book written by Terence Parr to write such a grammar, but it seems that writing one such grammar for C lang is a time-consuming process, so I was wondering if I already have available, that I can save a lot of time!
(Grammar for a smaller subset of C is also good.)
Thank:)
After two weeks there is no answer.
, , C ( ) C (, ANSI, GNU C 2/3/4/, Miscrosoft Visual C, Green Hills C)... . , - C.
, C ANTLR, , , ANTLR. , ; , ANTLR.
, C- ( ), , , , DMS Software Reengineering Toolkit C . C, 18 000 .
. this. ANTLR 4: C11. .
, , cpp mcpp .
AST, ( ).