Commit graph

303 commits

Author SHA1 Message Date
Anders Xiao
885830428b
PR: builtin range function ()
* builtin range function 

* change empty range logic

* fix unit test error message

* fix github env ()

* fix ErrInvalidRangeStep comments

* fix github env ()

* builtin range function 

* change empty range logic

* fix unit test error message

* fix ErrInvalidRangeStep comments

* fix lint

Co-authored-by: geseq <5458743+geseq@users.noreply.github.com>
2021-03-01 22:34:04 -08:00
geseq
c51d02f80e
fix github env () 2021-03-02 07:10:36 +01:00
daniel
2565e0553d
fix issues with symbols in global scope blocks () 2020-09-17 17:15:42 -07:00
daniel
15494e1691
fix local symbol resolution bug ()
* fix local symbol resolution bug

* 1
2020-09-13 19:33:48 -07:00
Ozan Hacıbekiroğlu
7834251c84
spread last call argument v2 () 2020-06-08 18:54:24 +02:00
Ozan Hacıbekiroğlu
366c69902f
add string comparison support ()
* 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 ()
* fix a bug in bytecode optimization code

* add a test
2020-05-23 08:23:33 -07:00
daniel
d08a636e7c
add GitHub Actions () 2020-05-22 23:09:56 -07:00
Ozan Hacıbekiroğlu
4ed75764ce
enable relative imports ()
* enable relative imports

* update per 1st review

* remove symlink stuffs

* fix cli run in make file

* make resolving import path explicit

* fix importDir
2020-05-22 13:57:38 -07:00
Ozan Hacıbekiroğlu
e059953c35
fix for in loop symbols ()
* fix for in loop symbols

* fix comments
2020-05-22 11:38:29 -07:00
daniel
22e1e35e11
Update README.md 2020-05-19 08:12:42 -07:00
Ozan Hacıbekiroğlu
e6689015df
Fix nested file imports ()
* fix nested file import

* better bytes prefix check

* remove comment
2020-05-19 07:24:03 -07:00
daniel
50d0ba75d5
fix a compiler bug with dead code optimization () 2020-05-19 07:00:53 -07:00
daniel
5b449b37d4
Update README.md 2020-05-08 20:14:14 -07:00
daniel
f97ab7f279
Update README.md 2020-05-08 19:22:08 -07:00
Ozan Hacıbekiroğlu
50379940e4
add shebang support ()
* add shebang support
2020-05-08 19:09:44 +02:00
Ozan Hacıbekiroğlu
3d7269c2c8
fix stdlib json string encoding () 2020-05-05 06:46:08 +02:00
daniel
b203f09032
add Yaegi to benchmark () 2020-05-02 15:27:20 -07:00
daniel
f4f70babbc
Update README.md () 2020-05-02 13:17:27 -07:00
Ozan Hacıbekiroğlu
d8b50efec5
add interoperability example () 2020-04-24 18:26:16 +02:00
daniel
3b53bc4f6d
Revert "remove callable args alloc ()" ()
This reverts commit b75bda7da7.
2020-03-15 11:19:02 -07:00
Ozan Hacıbekiroğlu
b75bda7da7
remove callable args alloc () 2020-03-15 17:45:40 +01:00
Sébastien Lacoste
b555842004
fix typo in objects doc () 2020-03-09 14:40:39 +01:00
Ozan HACIBEKİROĞLU
a053476c0b
fix markdownlint warnings () 2020-03-04 15:53:38 +01:00
Ozan HACIBEKİROĞLU
73b5e6256e
builtin splice ()
* 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 ()
* 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
geseq
6fb0df750b
updated goreleaser config () 2020-02-16 06:29:06 +01:00
Ozan HACIBEKİROĞLU
0854675469
update vm to raise wrapped runtime errors ()
* 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
e01d7f485e
Update README.md 2020-01-19 16:16:30 -08:00
daniel
c60fc283b5
Update README.md 2019-12-29 14:01:17 -08:00
daniel
d5b24138d3
add go module v2 () 2019-12-29 13:38:51 -08:00
daniel
a9a233a750
fix internal package issue ()
* fix internal package issue

* ExampleSimple -> Example
2019-12-24 07:42:30 -08:00
daniel
7cb058b564
fix go.sum () 2019-12-20 11:51:04 -08:00
daniel
c88a5f506e
some code clean up () 2019-12-20 11:40:38 -08:00
daniel
030b4b90ab
Update README.md 2019-12-20 10:25:16 -08:00
geseq
4cd9a2bcbc
fix () 2019-11-02 07:36:47 +01:00
geseq
388b3e73b0
Fixed goreleaser duplicate id error () 2019-10-25 12:07:32 +02:00
geseq
50d0022f72
Added empty go.sum file for the release pipeline () 2019-10-25 11:16:02 +02:00
geseq
93fbccd14d
Added Go mod hooks to goreleaser () 2019-10-24 12:25:23 +02:00
Erwin Oegema
9b4ab96d31 Fix typo in 'immutable_array.go' () 2019-10-24 10:19:24 +02:00
Kazushi Kitaya
ad3980e4d0 replace outdated ErrInvalidTypeConversion in docs/objects.md () 2019-10-24 10:19:02 +02:00
Brandon Buck
c3e41c2588 Correct misattributed string() details ()
* Correct misattributed `string()` details
2019-10-24 10:18:38 +02:00
Ma_124
1ee7425c9d Stdlib encodings: hex, base64 () ()
* stdlib/hex and stdlib/base64

* stdlib/hex and stdlib/base64: added docs
2019-08-09 13:36:45 -04:00
Jacob R. McCollum
2e74690f5e
fix go.mod to work with the travis ci build ()
* fix go.mod to work with the travis ci build

* fix issue with gimme and 1.12

* fix issue with gimme and 1.12 ()

* fix issue with gimme and 1.12 ()

* fix issue with gimme and 1.12 ()
2019-08-04 16:17:51 -04:00
Jacob R. McCollum
de63fbaa2c
Merge pull request from d5/mod_support
Go module support via `go.mod`
2019-08-04 11:40:54 -04:00
Jacob McCollum
816f45231f go module support 2019-08-04 11:24:01 -04:00
earncef
0440786b8d Fixed missing ObjectPtr check in OpSetSelLocal ()
* fixes 

* Cleanup
2019-04-25 21:32:42 -07:00
Jacob R. McCollum
adcf05d26f add variadic function parameters ()
* parsing variable function types

* finished variadic functions

* fix case where number of passed args to variadic function is 0

* remove extraneous OpVarArgs

* allow multiple variables in variadic function declaration

* fix IdentList string method to print multi-arg variadic functions correctly

* round 2 of fix IdentList string method to print multi-arg variadic functions correctly

round 2 of fix IdentList string method to print multi-arg variadic functions correctly

* clean up tasks in OpCall handling, add tests for variadic closures

* cleanup for pr

- add syntax documentation
- cleanup parseIdentList
- cleanup OpCall handling for functions and closures
- cleanup tests
2019-04-25 21:28:27 -07:00
Daniel
2e0ea3a4c1
update syntax documentation ()
* Update tutorial.md

* Update tutorial.md

* Update tutorial.md

* Update tutorial.md

* Update tutorial.md

add logical operators, assignment operators, increment operators

* wip

* wip

* update
2019-04-18 23:33:23 -07:00
earncef
19d2945e1e Used by badge () 2019-04-15 09:30:34 -07:00