[Gridflow-dev] [PD] jMax Phoenix

Mathieu Bouchard matju at artengine.ca
Thu Sep 23 14:22:18 EDT 2010


On Wed, 22 Sep 2010, Mathieu Bouchard wrote:

> At this point, [#expr 1000-100-10-1] = 909, and I'm trying to make it so that 
> it's 889. It's because (1000-(100-(10-(1)))) = 909 and ((((1000)-100)-10)-1) 
> = 889.

ok, it's fixed, [#expr 1000-100-10-1]

I have a parser for + - * / & | ^ with correct operator precedence and 
left-associativity, and support for float literals and 0x hex literals. 
(nothing else yet)

You can try it now if you compile the svn head of gridflow.

  _______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC


More information about the Gridflow-dev mailing list