[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I found program for AST generating
From: |
Akim Demaille |
Subject: |
Re: I found program for AST generating |
Date: |
Sun, 25 Jul 2021 18:02:34 +0200 |
Hi Askar!
> Le 11 juil. 2021 à 01:28, Askar Safin <safinaskar@mail.ru> a écrit :
>
> 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.
That looks very nice, thanks for sharing!
Cheers!