Boost logo

Boost Users :

Subject: [Boost-users] [Spirit] Building an expression parser with boost.spirit or any other
From: Max (loadcom_at_[hidden])
Date: 2008-12-23 09:26:20


Hello all,

There are several parsing tool libs in boost, say spirit and wave, pheonix, etc.
But I am just not quite clear of the relation between each of them. I've skimmed
through some of the documentation some time ago, but it seems to be too tough to
me till now.

My question is, giving the huge power of these libs, is it simple to construct
an traditional expression parser which accepts formulea like:

1+2/3
sin(0.34)/power(tan(.4),3)
and so on

Or, preferably, is there already a sample program like this anywhere?

Thanks for any hints.

B/Rgds
Max

-------------------------------------------------------------------
ÐÂÀ˿ռ䡪¡ªÓëÅóÓÑ¿ªÐÄ·ÖÏíÍøÂçÐÂÉú»î£¡(http://space.sina.com.cn/ )


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net