Re: [fpc-devel] Return to pure functions!

2019-09-19 Thread Sven Barth via fpc-devel
Am 19.09.2019 um 20:25 schrieb J. Gareth Moreton: One thing I've fallen foul of is how to track variables in what will become the 'node parser' that the compiler will use to evaluate pure functions to calculate their return values.  Because a variable can be anything, I was planning on using th

[fpc-devel] Return to pure functions!

2019-09-19 Thread J. Gareth Moreton
Hi everyone, The Curious Kit is back!  While I'm still waiting on my optimiser overhaul and the node semantic pass to be approved (or rejected), I've gone to taking a fresh look at pure functions, especially as I know more about the node pass stage (after my work on the semantic pass). I've