Commit Graph

383 Commits

Author SHA1 Message Date
Marc Vertes
9cd312611c Fix type conversion and function wrapper 2018-11-23 15:48:22 +01:00
Marc Vertes
a86e5b43a7 Fix automatic type conversion for binary methods 2018-11-22 11:27:40 +01:00
Marc Vertes
d77e2e3f83 Support call to runtime in go statement 2018-11-21 18:06:20 +01:00
Marc Vertes
7ddb593bc2 Interpreter call from runtime: fix node wrapper generation 2018-11-21 15:00:47 +01:00
Marc Vertes
0e6d068a17 Code cleaning 2018-11-20 17:51:43 +01:00
Marc Vertes
9d466c92e3 Improve handling of fields in struct objects 2018-11-20 16:17:42 +01:00
Marc Vertes
84d8456b92 Fix solving selector expression on binary object 2018-11-20 12:21:01 +01:00
Marc Vertes
b3954838e9 Fix call of interpreted callback from runtime. Work in progress. 2018-11-19 19:06:32 +01:00
Marc Vertes
e21513faf8 Fix handling of function types
Fix a bug where type was skipped if several arguments where factorized
on the same type.
2018-11-19 14:37:24 +01:00
Marc Vertes
503b1d9119 Convert literal values to right type 2018-11-19 13:24:55 +01:00
Marc Vertes
0970329031 Convert literal values to right type 2018-11-19 10:27:54 +01:00
Marc Vertes
eff6d5f73b Fix assignement of function call, code clean 2018-11-16 16:51:31 +01:00
Marc Vertes
9212167392 Fix handling methods on binary objects 2018-11-16 15:25:59 +01:00
Marc Vertes
0e36321755 Fix support of variadic functions 2018-11-15 11:35:49 +01:00
Marc Vertes
982d6f3630 Fix convertBin() 2018-11-14 18:14:08 +01:00
Marc Vertes
c9519a6a0e Fix type detection in variable declaration 2018-11-14 18:03:02 +01:00
Marc Vertes
0b67bb3f6f Fix setting composite litterals in nested scopes 2018-11-14 15:54:03 +01:00
Marc Vertes
799a1018d2 Fix nested function calls with multiple return values 2018-11-14 14:38:00 +01:00
Marc Vertes
8a27260f27 Improve handling of pointer values 2018-11-13 17:56:39 +01:00
Marc Vertes
33c084f721 Fix negate operator 2018-11-13 15:47:54 +01:00
Marc Vertes
6637e21011 Fix a case where a global symbol was overwritten 2018-11-13 14:17:26 +01:00
Marc Vertes
1d303762bc Fix finding method on runtime object 2018-11-13 10:48:09 +01:00
Marc Vertes
059a071407 Fix calls of functions returning multiple values 2018-11-12 16:00:13 +01:00
Marc Vertes
df98e03b74 Do not change node kind when resolving methods 2018-11-09 09:59:59 +01:00
Marc Vertes
f2dccec382 Handle method call with receiver type conversion 2018-11-08 11:31:23 +01:00
Marc Vertes
80aa5f330d fix method assignement 2018-11-07 22:49:17 +01:00
Marc Vertes
314ceb15a7 Propagate method receiver info accross assignments 2018-11-05 15:55:14 +01:00
Marc Vertes
9b3c3f27b3 Improve embedded method support 2018-11-02 16:59:55 +01:00
Marc Vertes
1592679f36 Rework function calls, in progress 2018-10-31 19:35:26 +01:00
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