On 26 Aug 2005, at 01:54, Paul Eggert wrote:
What do you have in your mind here?
Nothing concrete yet. Perhaps just come up with a minimal macro
language and implement it in C. I hate to reinvent the wheel, but M4
isn't working out well.
Another, more advanced idea, that I have played around with before,
is to create a minimal, universal computer language, just enough to
describe the parser. Then that languages is translated to output
parser in other languages, C, C++, etc. The point would be that each
parser needs only be written once. But one would have to analyze the
components used for different computer languages.
This is probably further down the road. The C++ parser development is
stuck, because the commands for placing code, which is very important
in C++, have not yet been supplied.
Hans Aberg