Commit graph

11 commits

Author SHA1 Message Date
daniel
15494e1691
fix local symbol resolution bug (#316)
* fix local symbol resolution bug

* 1
2020-09-13 19:33:48 -07:00
Ozan Hacıbekiroğlu
7834251c84
spread last call argument v2 (#302) 2020-06-08 18:54:24 +02:00
Ozan Hacıbekiroğlu
366c69902f
add string comparison support (#294)
* enable relative imports

* update per 1st review

* remove symlink stuffs

* fix cli run in make file

* make resolving import path explicit

* fix importDir

* add string comparison operators

* fix duplicates
2020-05-25 10:53:52 -07:00
daniel
d1dd01499f
fix a bug in bytecode optimization code (#292)
* fix a bug in bytecode optimization code

* add a test
2020-05-23 08:23:33 -07:00
Ozan Hacıbekiroğlu
e059953c35
fix for in loop symbols (#290)
* fix for in loop symbols

* fix comments
2020-05-22 11:38:29 -07:00
Ozan HACIBEKİROĞLU
73b5e6256e
builtin splice (#254)
* added builtin splice

* fix splice

* remove splice negative index
2020-03-03 22:16:15 -08:00
Ozan HACIBEKİROĞLU
ac534053e8
builtin delete for maps and arrays (#250)
* added builtin delete function and unit tests

* added vm tests for builtin delete

* added doc for builtin delete

* update doc
2020-02-19 15:02:31 +01:00
Ozan HACIBEKİROĞLU
0854675469
update vm to raise wrapped runtime errors (#247)
* update vm to raise wrapped runtime errors

special errors returned from custom builtin modules can be identified easily by wrapping and using errors package's Is() and As() method.

* added test for runtime errors
2020-02-16 04:46:53 +01:00
daniel
d5b24138d3
add go module v2 (#244) 2019-12-29 13:38:51 -08:00
daniel
a9a233a750
fix internal package issue (#241)
* fix internal package issue

* ExampleSimple -> Example
2019-12-24 07:42:30 -08:00
daniel
c88a5f506e
some code clean up (#237) 2019-12-20 11:40:38 -08:00