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
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to