Commit graph

41 commits

Author SHA1 Message Date
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
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
4fac7b4013 register immutable array to gob 2019-01-25 15:08:17 -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
011833b95b fix test fail 2019-01-24 17:11:51 -08:00
Daniel Kang
a562964007
Merge pull request #30 from d5/indexable
Indexable and IndexAssignable
2019-01-23 09:29:19 -08:00
Daniel Kang
1045afd5a4 add Indexable / IndexAssignable interface 2019-01-22 15:44:37 -08:00
Sergey
c087ba891b
os: use SeekStart, SeekCurrent and SeekEnd instead deprecated values 2019-01-21 15:39:10 +05:00
Daniel Kang
336fbc30e5 some performance optimization in VM 2019-01-20 08:32:12 -08:00
Daniel Kang
81fdf10f8c remove 'mode_irregular' from 'os' module 2019-01-19 20:38:01 -08:00
Daniel Kang
029a3c11b4 1. remove some stdmod functions for the latest Go version 2. add .travis.yml 2019-01-19 20:28:32 -08:00
Daniel Kang
5164d1de9f add 'exec' module 2019-01-18 10:17:24 -08:00
Daniel Kang
a8d838ad3e Compile can take custom stdlibs 2019-01-18 09:19:45 -08:00
Daniel Kang
b5108b8065 os Process functions 2019-01-18 02:28:58 -08:00
Daniel Kang
9b1a0a36bf add more comments 2019-01-18 01:57:14 -08:00
Daniel Kang
8cad04841e add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
Daniel Kang
44c55ea296 add some more os module functions, add more built-int functions 2019-01-17 21:23:20 -08:00
Daniel Kang
a14f6ec1c0 incomplete implementation of 'os' module 2019-01-17 16:52:30 -08:00
Daniel Kang
3f55a6b5b0
Modules (#5)
Implement module imports
2019-01-17 01:56:05 -08:00
Daniel Kang
8171d58071
Error Object (#4)
add error expression and error object
2019-01-16 12:23:20 -08:00
Daniel Kang
b83eac8753 add test for for-in compiler 2019-01-15 21:45:38 -08:00
Daniel Kang
344c96d280 add objects tests 2019-01-15 10:35:51 -08:00
Daniel Kang
e1e0e0cb24 fix golint, ineffectassign issues and add some more tests 2019-01-15 10:14:16 -08:00
Daniel Kang
b79fd4f7ef
Fix lint issues (#2)
* addressing golint issues

* fix all lint issues.
2019-01-14 22:24:33 -08:00
Daniel Kang
264f15fd00 add documentation on scanner and parser. 2019-01-14 06:57:30 -08:00
Daniel Kang
d581cb24e4 remove unnecessary JMP when there's no ELSE block 2019-01-13 12:13:15 -08:00
Daniel Kang
27438eea6f update directory package structure 2019-01-11 02:27:28 -08:00
Daniel Kang
53af0d6328 move file and fileset to source package 2019-01-11 01:16:34 -08:00
Daniel Kang
d870ebf72e variable definition (operator ":=") is now required not optional 2019-01-10 22:34:28 -08:00
Daniel Kang
ce7e5cc980 type conversion builtin functions: string(), int(), bool(), float(), char() 2019-01-09 17:18:37 -08:00
Daniel Kang
2c3282da21 initial commit 2019-01-08 23:17:42 -08:00