|
From: | Hans Aberg |
Subject: | Re: --no-parser options |
Date: | Tue, 7 Aug 2007 10:55:16 +0200 |
On 6 Aug 2007, at 22:53, Satya wrote:
Not too long ago (summer 2006 :) we had a long discussion about dumping the parser tables so that other programs (I wanted to do a visual grammar debugger) can use them. I even put forward a (possibly dumb/simplistic) XML representation of the .output file. But there wasn't any feedback on that. I am not an expert in XML, but if someone proposes a good schema I can add the required code to Bison.
This is just question of writing a new skeleton file, and the code is essentially there, though generating in the form C/C++ arrays. But first just strip all macros except what generates those arrays, then make another output format, if needed.
Didn't somebody talk about doing away with m4 ? (may be Paul Eggert ?)
Yes, one suggestion was the Scheme interpreter/virtual machine GNU Guile. It could be added as an option, without removing M4. - One chooses which post processor. I do not know why nothing happened with it. Perhaps Akim Demaille knows.
Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |