Description Of Context Free Grammars In Json Format For Parser Generators

Main Article Content

Abstract

Analysis of various presentations for context free grammars provided with parser generators. A new description format of context free grammars is proposed. Given a representation of context free grammar in JSON format. The concept of a new parser generator based on JSON data format of describing context free grammars is presented. Described a parser generation scheme based on that concept.

Article Details

How to Cite
Osipov, O. K. “Description Of Context Free Grammars In Json Format For Parser Generators”. Russian Digital Libraries Journal, vol. 23, no. 6, Aug. 2020, pp. 1301-23, doi:10.26907/1562-5419-2020-23-6-1301-1323.

References

1. Standard RFC 5234: Augmented BNF for Syntax Specifications: ABNF. URL: https://tools.ietf.org/html/rfc5234#section-2.1
2. Standard RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format. URL: https://tools.ietf.org/html/rfc8259
3. Standard ECMA 404: The JSON Data Interchange Standard.
URL: https://www.json.org/json-en.html, https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
4. Ахо А., Ульман Дж. Теория синтаксического анализа, перевода и компи-ляции: В 2-х томах. Т. 1: Синтаксический анализ. М.: Мир, 1978.
5. Parlage // Github. URL: https://github.com/igordejanovic/parglare
6. ANTLR: ANother Tool for Language Recognition. URL: https://www.antlr.org/
7. GNU Bison: Manual. URL: https://www.gnu.org/software/bison/manual/bison.html
8. Ахо А.В., Лам М.С., Сети Р., Ульман Дж. Д. Компиляторы: принципы, технологии и инструментарий, 2-е изд.: Пер. с англ. М.: Вильямс, 2008. 1184 с.