E Sequeira
6fc8053992
fix runtime panics on self assignment ( #387 )
2022-07-20 16:09:43 +01:00
E Sequeira
818d6dc687
vim syntax highlighter ( #383 )
2022-06-15 17:04:19 +05:30
Józef Sokołowski
6fc27defb8
add support for parsing binary, octal and hex numbers ( #364 )
...
Fixes #363
Co-authored-by: Józef Sokołowski <jozef.sokolowski@gmail.com>
2022-06-15 09:50:39 +05:30
E Sequeira
9bf03596b1
limit to go 1.16+ ( #382 )
2022-06-12 21:32:53 +05:30
E Sequeira
131638ffeb
update goreleaser to fix releases ( #381 )
2022-06-11 12:49:14 +05:30
E Sequeira
71459c44f6
fix deadcode optimization ( #378 )
2022-06-10 11:15:34 +05:30
Nicolas Stenberg-Daniil
f90d433d21
Corrected/changed variable names of the base64 and hex imports (instead of fmt) to correspond with the module name itself. ( #375 )
2022-04-15 18:38:56 +01:00
Józef Sokołowski
0afdfdeb2f
Fix copying user functions ( #366 )
...
* fix copying user functions
Fixes #365
* remove EncodingId
Co-authored-by: Józef Sokołowski <jozef.sokolowski@gmail.com>
2022-02-08 08:55:33 -08:00
Michał Idzikowski
7b5d207914
fix documentation for enum.filter ( #359 )
...
* fix documentation for enum.filter
fixes https://github.com/d5/tengo/issues/358
* update stdlib code comment for enum.filter
2022-02-06 22:53:27 -08:00
daniel
1bcc1892c8
Update README.md
2022-01-16 18:50:06 -08:00
KEINOS
4846cf5243
add custom extension support for importing source file ( #350 )
...
* chore: add tests for custom extension
* feat: cusom source extension #286
* fix: path to test directory
* add getter + change setter name for file extension
* add tests of source file extension validation
* fix: add validation for file extension names
* fix: property importExt -> importFileExt
* fix: redundant check (no resetting)
* fix: failing test wich did not follow the new spec
* chore: add detailed description of the test
* chore: fix doc comment to be descriptive
* docs: add note about customizing the file extension
2021-11-13 15:13:39 -08:00
Mikael Ganehag Brorsson
a7666f0e7d
Handle panics by deferring recover as an error ( #345 )
...
* Handle panics by deferring recover as an error
* Check for type in recover handler
2021-11-13 15:10:47 -08:00
Bruno Franca dos Reis
3b65ddf2b8
Extract ModuleGetter interface for dynamic imports ( #349 )
...
* Extract ModuleGetter interface for dynamic imports
* ModuleGetter: add example in interop doc.
2021-11-06 17:34:48 -07:00
Ralph Caraveo III
d9b300cb70
For the OpMap VM instruction, since numElements is known just use the capacity hint. ( #347 )
2021-09-21 13:47:21 +01:00
daniel
de6dc1e9a9
Update README.md
2021-09-05 13:40:48 -07:00
daniel
ac805806f8
add Eval function ( #338 )
2021-07-05 01:49:38 -07:00
daniel
50af716288
Update README.md
2021-06-19 10:49:56 -07:00
Anders Xiao
885830428b
PR: builtin range function #326 ( #328 )
...
* builtin range function #326
* change empty range logic
* fix unit test error message
* fix github env (#329 )
* fix ErrInvalidRangeStep comments
* fix github env (#329 )
* builtin range function #326
* 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 ( #329 )
2021-03-02 07:10:36 +01:00
daniel
2565e0553d
fix issues with symbols in global scope blocks ( #318 )
2020-09-17 17:15:42 -07:00
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
daniel
d08a636e7c
add GitHub Actions ( #293 )
2020-05-22 23:09:56 -07:00
Ozan Hacıbekiroğlu
4ed75764ce
enable relative imports ( #285 )
...
* 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 ( #290 )
...
* 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 ( #282 )
...
* 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 ( #284 )
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 ( #274 )
...
* add shebang support
2020-05-08 19:09:44 +02:00
Ozan Hacıbekiroğlu
3d7269c2c8
fix stdlib json string encoding ( #272 )
2020-05-05 06:46:08 +02:00
daniel
b203f09032
add Yaegi to benchmark ( #271 )
2020-05-02 15:27:20 -07:00
daniel
f4f70babbc
Update README.md ( #270 )
2020-05-02 13:17:27 -07:00
Ozan Hacıbekiroğlu
d8b50efec5
add interoperability example ( #266 )
2020-04-24 18:26:16 +02:00
daniel
3b53bc4f6d
Revert "remove callable args alloc ( #259 )" ( #260 )
...
This reverts commit b75bda7da7
.
2020-03-15 11:19:02 -07:00
Ozan Hacıbekiroğlu
b75bda7da7
remove callable args alloc ( #259 )
2020-03-15 17:45:40 +01:00
Sébastien Lacoste
b555842004
fix typo in objects doc ( #256 )
2020-03-09 14:40:39 +01:00
Ozan HACIBEKİROĞLU
a053476c0b
fix markdownlint warnings ( #255 )
2020-03-04 15:53:38 +01: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
geseq
6fb0df750b
updated goreleaser config ( #249 )
2020-02-16 06:29:06 +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
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 ( #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
7cb058b564
fix go.sum ( #238 )
2019-12-20 11:51:04 -08:00