Monday, November 24, 2008 02:16 PM
I want to develop an antlr program that validates the
syntax of a proprietary language similar to C++ language.
INT a, b;
I want to validate syntax and throw in case of syntactical errors in the program. In the above example, say if user
misses semicolon at the end, i want to throw appropriate message to the user. Should i use AST approach?
Are there any sample 'validation programs developed in antlr' already available?