Related articles |
---|
translation tools? Maciej.Komosinski@cs.put.poznan.pl (Maciej Komosinski) (2001-01-18) |
Re: translation tools? mike@dimmick.demon.co.uk (Mike Dimmick) (2001-01-19) |
Re: translation tools? tmk@netvision.net.il (Michael Tiomkin) (2001-01-19) |
From: | Michael Tiomkin <tmk@netvision.net.il> |
Newsgroups: | comp.compilers.tools.pccts,comp.compilers |
Date: | 19 Jan 2001 23:24:43 -0500 |
Organization: | NetVision Israel |
References: | 01-01-094 |
Keywords: | yacc, C++ |
Posted-Date: | 19 Jan 2001 23:24:43 EST |
Maciej Komosinski wrote:
> I have to write a translator from a simple scripting language to a
> complex assembler. I'd like to use some yacc-similar tool, but I would
> prefer a C++ output. What are up-to-date, free tools for that?
You can use flex and bison++ to make a parser in C++.
bison++ is not up-to-date, it's something like 1994, but it works.
BTW, you can also write a small parser in a scripting language,
e.g. Python.
Michael
Return to the
comp.compilers page.
Search the
comp.compilers archives again.