Related articles |
---|
Bison: reentrant C++ abstract-syntax-tree parser lu.nn@wischik.com (Lucian Wischik) (2003-09-23) |
Re: Bison: reentrant C++ abstract-syntax-tree parser haberg@matematik.su.se (2003-09-27) |
Re: Bison: reentrant C++ abstract-syntax-tree parser lu.nn@wischik.com (Lucian Wischik) (2003-09-27) |
Re: Bison: reentrant C++ abstract-syntax-tree parser yves@news.be (Yves Deweerdt) (2003-09-27) |
Re: Bison: reentrant C++ abstract-syntax-tree parser luca.dattila@tin.it (Luca D'Attila) (2003-09-27) |
From: | Lucian Wischik <lu.nn@wischik.com> |
Newsgroups: | comp.compilers |
Date: | 27 Sep 2003 13:57:34 -0400 |
Organization: | University of Bologna |
References: | 03-09-085 |
Keywords: | yacc, C++ |
Posted-Date: | 27 Sep 2003 13:57:34 EDT |
Lucian Wischik <lu.nn@wischik.com> wrote:
>I'm trying to use bison to make an abstract syntax tree. I'm trying to
>do it in a nice C++ sort of way. But I'm finding it very difficult,
>and would really find it helpful if someone could point me to an
>example of "best practice".
It's not "best practice", but at least it's a working example...
http://www.wischik.com/lu/programmer/re-ast.html
This page has an explanatory article as well as the source code. If
anyone has any feedback, I'd love to hear it! (email addr at the top
of that page).
--
Lucian
Return to the
comp.compilers page.
Search the
comp.compilers archives again.