Bill Allombert on Wed, 02 Jun 2004 19:19:25 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
New experimental GP parser release |
Hello PARI-dev, I have made available a new version of my experimental GP parser: <http://pari.math.u-bordeaux.fr/~bill/pari-2.2.8.bill-8.tar.gz> This version is up-to-date with current CVS and support a new experimental construct: Instead of if(COND,EXP1,EXP2); you can write if(COND) ( EXP1 ) ( EXP2 ); and in place of for(a=1,n,EXP); for(a=1,n) ( EXP ); I am evaluating if I could use {} instead of () to brace expressions, without breaking backward compatibility. Note that this is currently implemented for every functions, not just if() and for, so you can do silly things like gcd(a)(b). If you have proposals for similar syntax extensions to make GP scripts more readable, tell us and I will try whether this is doable. Cheers, Bill.