FIELD: information technology.
SUBSTANCE: programming language parsing method is based on table LR parsing. Canonical LR tables of a parser are dynamically rearranged during compilation using grammar extension directives given separately for each hierarchy level of nesting grammatical rules of the programming language, said directives being intended for inputting new grammatical structures. The compiler continues parsing of the program using the rearranged LR tables.
EFFECT: enabling dynamic modification of compilation tables which form the basis for a parser by extending the grammar of the programming language.
5 cl
Authors
Dates
2014-05-20—Published
2013-02-18—Filed