Annotation based parser generator

Jaroslav Porubän, Michal Forgáč, Miroslav Sabo

2009 · 13 citations · 5 references

Concepts

Abstract

The paper presents innovative parser construction method and parser generator prototype which generates a computer language parser from a set of annotated classes in contrast to classic parser generators which specify concrete syntax of a computer language using BNF notation. In the presented approach a language with textual concrete syntax is defined upon the abstract syntax definition extended with source code annotations. The process of parser implementation is presented on selected concrete computer language - the Simple Arithmetic Language. The paper summarizes results of the studies of implemented parser generator and describes its role in the university courses.

References

5