Bill Allombert on Mon, 26 Jan 2004 20:14:13 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp: anal.c more bugs


On Mon, Jan 26, 2004 at 10:47:08AM +0100, Karim Belabas wrote:
> P.S: The parser code has been rewritten by Bill ( and is included in gp2c ).
> I do not know whether it is ready to replace the old one.

It is ready. The problem is that it is only a parser and not an 
interpreter. 

This parser read GP code and convert it to a syntactical tree.
This tree can trivially being interpreted.

Writing the interpreter is easy. What is a bit more difficult is
to integrate all that stuff in GP, in particular storing the tree.

Note that it is expected that this will lead to a GP interpreter
3 times faster on tight loop.

I suppose we should also evaluate how far we are from a new stable
release before attempting this change.

Cheers,
Bill.