bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I found program for AST generating


From: Askar Safin
Subject: I found program for AST generating
Date: Sun, 11 Jul 2021 02:28:23 +0300

Hi. I long time ago I was interested in generating input files for bison (i. e. 
generating .y files) for producing AST. For example, I asked about it here: 
https://lists.gnu.org/archive/html/bug-bison/2018-12/msg00008.html . Now I 
found solution to this problem: BNFC. https://bnfc.digitalgrammars.com/ . You 
write single concise input file and BNFC generates bison's .y file (which 
parses to AST) from it together with pretty-printer.

==
Askar Safin
http://safinaskar.com
https://sr.ht/~safinaskar
https://github.com/safinaskar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]