TOKEN BASED CREATIVE PARSER GENERATOR
Keywords:
Parsing, debugging, annotation,XML, Expression Tree, Lexical constructsAbstract
The parser generator is a context-free grammar. This context-free grammar is usually expressed in Backus -Naur
form, BNF, or extended Backus-Naur form, EBNF, themselves metalanguages for context-free grammars. EBNF differs from
BNF, allowing shortcuts resulting in fewer but more complicated productions.In this paper we praposed annotation based
innovative Parser generator, and also find the solution for generating parsers for textual languages. Thepaper presents
innovative parser construction method and parser generator prototype which generates a computer language parser from a
set of annotated classes.In the presentedapproach a language with textual concrete syntax is definedupon the abstract syntax
definition extended with sourcecode annotations. The process of parser implementation ispresented on selected concrete
computer language – the SimpleArithmetic Language.