Re: Best lex/yacc for C++?

From: Joel de Guzman (djowel_at_gmx.co.uk)
Date: 10/12/03


Date: Sun, 12 Oct 2003 15:58:46 +0800


"Moonlit" <alt.spam@jupiter.universe> wrote in message
news:3f870549$0$58712$e4fe514c@news.xs4all.nl

>>> I just decided to order my copy of vc++ 2003, hope it works with spirit
>> and
>>> well, I could always backtrack to flex++/byacc/bison++ if not.
>>>
>> The only problem I see with this is the latest version of VC++ still has
>> weak template support, and as you already know, Spirit is very template
>> intensive. Have you checked out the BOOST library, to which Spirit was
>> resently added too? It has some nice workarounds for various compilers.
>
> Well they say over in the spirit newsgroup that vc7.1 compiles very well,
> but of course, the proof of the...
>
> I tried different versions of spirit 1.6.1 (the latest stable release).
> Could create a simple parser but when I wanted to use the ast templates it
> failed, without that I don't think it is possible to write a (maintainable)
> parser. The 1.7 release doesn't even compile, it gives a error in a certain
> line.

Hi,

AFAIK, 1.7 compiles cleanly on VC 7.1 (all regressions pass). Could you
be more specific with the compilation errors you are getting? I'd appreciate it
if you can post some code that exhibits the problem in Spirit's mailing list.
Rest assured, we are trying our best to make things work as smoothly as
possible.

Regards,

--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net


Relevant Pages