Commit graph

337 commits

Author SHA1 Message Date
Daniel Kang
c57a7f8f98 Fix a bug where len() builtin does not take immutable array 2019-02-01 17:32:05 -08:00
Daniel
4f222b1650
Merge pull request #73 from d5/charop
Operators on Char type
2019-02-01 17:03:11 -08:00
Daniel Kang
9e73f40485 1. Added documentation on operators. 2. Add (char)-(int) operators 2019-02-01 16:58:44 -08:00
Daniel
0d99cca738
Merge pull request #72 from d5/compiledset
replacing values of the compiled script
2019-02-01 11:32:07 -08:00
Daniel Kang
4f4646032c Update documentation for compiled scripts 2019-02-01 11:25:57 -08:00
Daniel Kang
6a663c6360 add script.Compiled.Set function so compiled script can replace value of global variables 2019-02-01 11:09:12 -08:00
Daniel Kang
6420628310
Merge pull request #70 from d5/fix69
Remove unused tokens
2019-01-31 12:43:12 -08:00
Daniel Kang
061d800cf8 removed 'case', 'default', 'switch', 'var' keywords 2019-01-31 12:40:14 -08:00
Daniel Kang
61e534eb67
Merge pull request #64 from d5/scriptmodule
Script Imports
2019-01-31 08:59:14 -08:00
Daniel Kang
44248b8c4b
Update interoperability.md 2019-01-31 01:14:47 -08:00
Daniel Kang
85d90f61ab
Update objects.md 2019-01-31 00:41:35 -08:00
Daniel Kang
950cb79648 update documentation 2019-01-31 00:39:45 -08:00
Daniel Kang
46c7190109 Script.AddModule() to take *Script not *Compiled 2019-01-30 23:06:00 -08:00
Daniel Kang
edc23cf2f1 working on script modules (WIP) 2019-01-30 21:50:15 -08:00
Daniel Kang
f7b0cd8299
Merge pull request #62 from d5/v1prep
v1 release prep
2019-01-30 02:05:26 -08:00
Daniel Kang
64d99807d8 remove unused code for tuple value return 2019-01-30 02:01:44 -08:00
Daniel Kang
c628152b9f
update benchmark 2019-01-30 01:48:39 -08:00
Daniel Kang
806ddeba3d fix CLI version command 2019-01-30 01:31:41 -08:00
Daniel Kang
b19d9de0bf update CLI documentation 2019-01-30 01:23:26 -08:00
Daniel Kang
0e9c5231a5 1. fix bytecode compile bug 2. update CLI 2019-01-30 01:21:26 -08:00
Daniel Kang
a9aa8dc673 update documentation 2019-01-30 01:05:35 -08:00
Daniel Kang
760bc44547 add goreleaser deploy to travis 2019-01-30 00:52:55 -08:00
Daniel Kang
fdc52a0f83
Merge pull request #58 from d5/stringstime
'text' and 'times' modules
2019-01-29 23:50:21 -08:00
Daniel Kang
06573e5904 add documentation for times module 2019-01-29 21:22:58 -08:00
Daniel Kang
49b2b5f75f add documentation for text module 2019-01-29 21:08:21 -08:00
Daniel Kang
591d745ef7 updating documents for stdlib 2019-01-29 20:46:30 -08:00
Daniel Kang
306fe1b24c clean up stdlib code 2019-01-29 19:52:00 -08:00
Daniel Kang
a9a93801b7 add 'times' module 2019-01-29 17:39:25 -08:00
Daniel Kang
378bf510d3 add Time type; add is_array, is_immutable_array, is_map, is_immutable_map, is_time, time builtin function 2019-01-29 16:01:14 -08:00
Daniel Kang
f752601ff2 add strconv functions 2019-01-29 15:05:03 -08:00
Daniel Kang
309b03bb30 add more strings functions to text module 2019-01-28 19:30:32 -08:00
Daniel Kang
69a703bea2 text module: regex functions (re_match, re_find, re_split, re_replace) 2019-01-28 18:30:26 -08:00
Daniel Kang
85da0cdc24 force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
Daniel Kang
481d79cf68
Merge pull request #55 from Chyroc/feat-builtin-function-type
feat: add builtin function: type
2019-01-27 21:22:11 -08:00
Chyroc
d413d2ffe7 feat: add builtin function: type 2019-01-28 13:19:03 +08:00
Daniel Kang
93917a4645
Merge pull request #53 from d5/condexpr
Conditional Expression
2019-01-27 18:17:42 -08:00
Daniel Kang
0f1fe9befd
Merge pull request #54 from d5/d5-patch-1
add Patreon badge
2019-01-27 18:14:33 -08:00
Daniel Kang
0318d95f1e
Update README.md 2019-01-27 18:10:47 -08:00
Daniel Kang
bb9f375321 update documentation 2019-01-27 17:33:24 -08:00
Daniel Kang
cae7b24770 ternary conditional expression implementation 2019-01-27 17:28:30 -08:00
Daniel Kang
69eb7da51e parser implementation for conditional expression 2019-01-27 16:25:12 -08:00
Daniel Kang
c0bb733c67
Merge pull request #52 from d5/jsondoc
add 'to_json' and 'from_json' to builtin documentation
2019-01-26 06:43:40 -08:00
Daniel Kang
bbc76a0228 add 'to_json' and 'from_json' to builtin documentation 2019-01-26 06:40:13 -08:00
Daniel Kang
5e2187d94a
Merge pull request #48 from d5/immutable
Immutable values
2019-01-26 06:01:24 -08:00
Daniel Kang
4fac7b4013 register immutable array to gob 2019-01-25 15:08:17 -08:00
Daniel Kang
fa6699f7ce update readme 2019-01-25 15:03:32 -08:00
Daniel Kang
85001be9b8 implement immutable array and map 2019-01-25 14:54:58 -08:00
Daniel Kang
19498da491 adding immutable value (incomplete) 2019-01-24 19:31:17 -08:00
Daniel Kang
a1bd73f238
Merge pull request #43 from d5/printf
add 'printf' and 'sprintf' builtin functions
2019-01-24 17:57:51 -08:00
Daniel Kang
011833b95b fix test fail 2019-01-24 17:11:51 -08:00