From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-03-06 15:53:41
"Larry Evans" <cppljevans_at_[hidden]> wrote in message
> I've also very curious about how this was done.
I create operators tree at compile-time of rhs, then I parse it using
templates (most challenging) and the evaluate the result.
That's all what my library does.
> Many years ago, I read Budd's _An Apl Compiler_
> ( See http://web.engr.oregonstate.edu/~budd/vita/books.html for
> details ), and IIRC, some of the techniques he used there might
> be useful for something like this. IOW, he evaluated the data flow
> for a apl expression and somehow created c code to evaluate the rhs.
> IIRC, he also mentioned vector machines. Anyway, it may give you
> some more ideas for lazy evaluation.
I live in Russia, so I think that I can hardly find this book, but if you
where I can get ebook version it would be great.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk