Commit Graph

33 Commits

Author SHA1 Message Date
Marc Vertes
567985f0cf Improve handling of out of order declarations 2018-07-24 16:32:08 +02:00
Marc Vertes
8f9eb29866 Fix multi file handling in src packages 2018-07-17 12:14:25 +02:00
Marc Vertes
8ab3c06e5a Fix handling of closures 2018-07-05 18:57:53 +02:00
Marc Vertes
e5ca673fec negate: add test 2018-07-03 16:21:15 +02:00
Marc Vertes
4bb9d61c3f Fix type access from source packages 2018-07-03 14:45:53 +02:00
Marc Vertes
824d65abc4 Add support for type conversion (in progress) 2018-06-29 17:51:48 +02:00
Marc Vertes
539f6f1c6f Handle composite types with sub-types imported from runtime 2018-06-28 14:22:20 +02:00
Marc Vertes
77c015fcb8 Handle type assertions (first attempt) 2018-06-27 14:59:23 +02:00
Marc Vertes
a062e34ba8 Fix map check expression 2018-06-26 18:27:14 +02:00
Marc Vertes
542ccdedf6 Fix type propagation in calls returning multiple values 2018-06-26 13:30:28 +02:00
Sebastien Binet
476a31322d Go get ellipsis (#1)
* gi: rename gi_c into _gi_c

* gi: rename test into _test

* gi: fix README syntax
2018-06-26 10:17:01 +02:00
Marc Vertes
19fb8d578d cfg: fix range exit 2018-06-23 14:12:55 +02:00
Marc Vertes
b608e2f3c2 Add support for iota 2018-06-22 02:52:45 +02:00
Marc Vertes
deb1c0136c Add support to variadic functions 2018-06-21 12:39:50 +02:00
Marc Vertes
75146ed4fc Fix method receivers handling 2018-06-20 17:30:14 +02:00
Marc Vertes
cf0ee1e75c Fix assign outside of local scope. Support append (1 item only) 2018-06-20 10:03:20 +02:00
Marc Vertes
71c4ec10b2 Improve type handling, simplify arrays 2018-06-19 16:40:24 +02:00
Marc Vertes
9d1fe83dcd Add support for slice expressions 2018-06-14 00:00:31 +02:00
Marc Vertes
24fe12afc3 handle method declaration with no receiver variable name 2018-06-13 11:18:48 +02:00
Marc Vertes
356b614f0f update tests 2018-06-07 15:15:12 +02:00
Marc Vertes
9537e89abe update tests 2018-05-28 17:43:31 +02:00
Marc Vertes
910b86e3d9 Fix handling of reflect values. Add math test 2018-05-19 10:21:37 +02:00
Marc Vertes
7284edd7c8 Reformat tests. No functional change. 2018-05-18 17:52:22 +02:00
Marc Vertes
62da45a792 Appease vet and lint gods 2018-05-18 16:43:44 +02:00
Marc Vertes
82c93bb780 Add support to init function. Better handling of entry point. 2018-05-16 15:35:13 +02:00
Marc Vertes
acfa049e46 Fix function forward declaration, fix related test. 2018-03-19 11:47:33 +01:00
Marc Vertes
8c4818a62b move scripts to test/ and generate code for go test 2018-03-18 14:00:57 +01:00
Marc Vertes
af0fed0cf7 cfg: improve type propagation and struct / array definition 2018-03-01 18:56:09 +01:00
Marc Vertes
835dd9c805 Add switch/case support. Some corner cases still missing 2018-02-21 13:23:20 +01:00
Marc Vertes
41bd7a8505 Refactoring of AST is now ok 2018-02-20 17:11:18 +01:00
Marc Vertes
24e3acd16a Revert non-recursive tree walk. Make CFG re-entrant. 2018-02-05 13:40:23 +01:00
Marc Vertes
c63b81a87f add non recursive treewalk, and benchmark it 2018-02-04 19:26:55 +01:00
Marc Vertes
75f96aeac7 Apply better names for function and files. Add images for doc 2018-02-01 15:20:37 +01:00