Commit Graph

354 Commits

Author SHA1 Message Date
Marc Vertes
4b48a14748 Fix handling of parameter frame positions 2018-10-27 11:52:33 +02:00
Marc Vertes
8670c41b9e fix call of method 2018-10-26 13:52:25 +02:00
Marc Vertes
8261696d8b Fix closures 2018-10-24 18:41:12 +02:00
Marc Vertes
799e832193 improve handling of closures (in progress) 2018-10-24 15:13:21 +02:00
Marc Vertes
0618fa54db Fix array litteral setting in case of slice 2018-10-19 18:09:17 +02:00
Marc Vertes
12ad6c0be0 improve boostraping execution 2018-10-19 17:31:20 +02:00
Marc Vertes
9f9d06b45b fix argument passing to functions 2018-10-18 18:33:12 +02:00
Marc Vertes
1cf5f2fdfe Fix interp level closures 2018-10-18 16:17:51 +02:00
Marc Vertes
731c5e909b Fix goroutine launch and assign from recv channel 2018-10-18 15:26:06 +02:00
Marc Vertes
a17227ade1 Fix argument passing and return values for simple function calls 2018-10-18 14:28:56 +02:00
Marc Vertes
b82c5edc85 Fix IsNil(), IsNotNil(), _make() and _cap() 2018-10-16 14:42:05 +02:00
Marc Vertes
0b32f08692 boolean expressions: do assign result if used for branching 2018-10-16 10:22:23 +02:00
Marc Vertes
c8c5633db3 support range on maps 2018-10-15 19:17:44 +02:00
Marc Vertes
2e4cf6151f builtin generators now update node directly 2018-10-15 17:44:50 +02:00
Marc Vertes
42aac01e9a WIP: rangeMap 2018-10-15 15:03:48 +02:00
Marc Vertes
5098279a68 Fix range init for arrays 2018-10-15 10:19:25 +02:00
Marc Vertes
d3d878567d _range(): optimize allocated memory 2018-10-11 17:51:39 +02:00
Marc Vertes
8d1a5c889a map: handle lookup status 2018-10-11 15:53:12 +02:00
Marc Vertes
3288eaa18c Fix getIndexMap 2018-10-11 11:59:01 +02:00
Marc Vertes
f539214f1b Fix AssignMap 2018-10-11 11:15:57 +02:00
Marc Vertes
85175c2eee Fix mapLit() 2018-10-11 10:15:36 +02:00
Marc Vertes
1ae9371510 Fix _append() 2018-10-10 19:50:53 +02:00
Marc Vertes
db69e5facc Fix _range() 2018-10-10 19:22:59 +02:00
Marc Vertes
ddd0fbb8ad Fix slice expressions 2018-10-10 18:08:28 +02:00
Marc Vertes
21067e72a2 Fix arrayLit() 2018-10-10 17:15:44 +02:00
Marc Vertes
fde1d4e212 Fix _len() 2018-10-10 15:56:57 +02:00
Marc Vertes
f914d828b5 Fix assign0 and array type to work with reflect.Values 2018-10-10 15:36:21 +02:00
Marc Vertes
5e13292e0d Fix struct field lookup and getIndexSeq() 2018-10-10 12:12:58 +02:00
Marc Vertes
9c7888cd4a Fix callBin() 2018-10-09 18:58:38 +02:00
Marc Vertes
9bbb7ad855 Fix compositeSparse() 2018-10-09 17:10:25 +02:00
Marc Vertes
b8e0786032 No need for specific struct field assignement 2018-10-09 15:54:33 +02:00
Marc Vertes
32bfd8a18a Represent struct as reflect.Value instead of []interface{} 2018-10-09 12:21:48 +02:00
Marc Vertes
dbe2d3d3bf improve use of genValue() 2018-10-05 15:21:02 +02:00
Marc Vertes
e1221600fd WIP handle runtime values as reflect.Value instead of interface{} 2018-10-04 11:46:07 +02:00
Marc Vertes
56bbb4d846 Fix generation of function call 2018-10-01 18:02:02 +02:00
Marc Vertes
8c9fd32cfd Improve execution of graph of closures 2018-10-01 16:42:15 +02:00
Marc Vertes
e8685fffa2 WIP accelerate execution of builtins 2018-09-28 14:53:30 +02:00
Marc Vertes
335373164f get rid of sleep() 2018-09-27 14:00:41 +02:00
Marc Vertes
7d58f10ee8 [WIP] generation of closures to execute node builtins 2018-09-27 13:44:43 +02:00
Marc Vertes
a44987452c [WIP] generation of closures to execute node builtins 2018-09-27 10:49:35 +02:00
Marc Vertes
a506592409 [WIP] generation of closures to execute node builtins 2018-09-27 10:07:46 +02:00
Marc Vertes
187100a5c3 get rid of callGoRoutine, goroutine handled by call generator 2018-09-26 17:24:42 +02:00
Marc Vertes
d5a390f0fe [WIP] generation of closures to execute node builtins 2018-09-26 16:48:29 +02:00
Marc Vertes
bb220fe143 Fix getIndexSeq() generator 2018-09-26 15:18:52 +02:00
Marc Vertes
973fedab6b [WIP] generation of closures to execute node builtins 2018-09-26 15:11:56 +02:00
Marc Vertes
ec5651400d [WIP] generation of closures to return node values 2018-09-25 18:59:12 +02:00
Marc Vertes
3b49892d2c [WIP] generation of closures to return node values 2018-09-25 18:25:07 +02:00
Marc Vertes
e82a223541 Introduce gobal type analysis step. Add several tests for out of order. 2018-09-19 18:34:56 +02:00
Marc Vertes
83f3967327 Fix nodes with unresolved symbols due to out of order parsing 2018-09-15 15:23:15 +02:00
Marc Vertes
a3259293cb Fix arg setting in callBin(). Assign Unset type to nil 2018-09-14 15:49:04 +02:00