|Bill Allombert on Mon, 28 Nov 2011 20:25:03 +0100|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Online brainstorming session for GP language feature.|
Deari PARI-dev, In preparation of the PARI workshop, I like to start a brainstorming session about the future of the GP language. To start with, we have in mind 3 kinds of GP extensions: 1) more functional programming-like features: 1.1) Comprehension: allow to write [a(x)|x<-b,c(x)] for select(c,apply(a,b))) 1.2) Range: [1..5] = [1,2,3,4,5] 1.3) F[2..4] = [F,F,F] 1.4) fun^k for x->fun( ... fun(fun(x)) ... ) (k times) 2) Precision: 2.1) myprec(x): set the precision to precision(x) in the current block 2.2) Pi(34): retourn Pi with 34 digits of precision 3) Debugging features: 3.1) allow to move up and down in the stack frame. 3.2) breakpoint 3.3) access to error information in the t_ERROR. 3.4) access to \x in the breakloop. but others are very welcome. The purpose of the brainstorming is to put all the extension on the table so we can see how they interfer which is other. So please send your proposals! I will present them at the PARI workshop, so this is your chance to contribute it you cannot attend. Cheers, Bill.