Published July 30, 2013 | Version 1.00
Journal article Open

Parser Generator for Parsing Expression Grammar

Description

In the field of formal languages apart from context free grammar (CFG) a new approach is developed i.e. Parsing Expression Grammar (PEG). Parsing Expression Grammar (PEG) is a new way to specify recursive-descent parsers with limited backtracking. The use of backtracking lifts the LL(1) restriction usually imposed by top-down parsers. In addition, PEG can directly define the structures that usually require a separate “lexer” or “scanner”. The parser has many useful properties, and with the use of memorization, it works in a linear time. This paper reports an experiment that consisted of defining PEG formalism, and literally transcribing the PEG definitions into parsing procedures. 

Files

2013-v02-i07-Jul_02 Parser Generator for Parsing Expression Grammar 188-192.pdf

Additional details

Identifiers

ISSN
2320-0790

Dates

Available
2013-07-30