Accent is a compiler compiler that does not rely on specific subclasses of context-free grammars and that can be used like Yacc. It also cooperates with Lex. Accent supports inherited and synthesized attributes. It allows you to write your grammar in the Extended-Backus-Naur-Form. Semantic actions can be inserted anywhere; there are no restrictions caused by the parser implementation. Accent even allows ambiguous grammars with much less effort than with traditional LALR or LL compiler compilers. An annotation framework has been developed to resolve ambiguities. It is on the abstract level of grammars and does not reflect the parsing algorithm. Moreover, this calculus is complete in the sense that it can handle each ambiguity in any grammar.
|Tags||Software Development Code Generators|