Commit graph

305 commits

Author SHA1 Message Date
Daniel Kang
575d969956 split iterator files 2019-01-14 23:52:52 -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
1c92fff07d
Update README.md 2019-01-14 08:26:50 -08:00
Daniel Kang
ab5289e99d
Update README.md 2019-01-14 08:24:36 -08:00
Daniel Kang
5c713febc6
Update README.md 2019-01-14 07:24:51 -08:00
Daniel Kang
dec1301907
Update README.md 2019-01-14 07:17:07 -08:00
Daniel Kang
264f15fd00 add documentation on scanner and parser. 2019-01-14 06:57:30 -08:00
Daniel Kang
75e9e171f8
Update README.md 2019-01-14 05:54:28 -08:00
Daniel Kang
4b8bd4eb21 update README 2019-01-14 05:25:04 -08:00
Daniel Kang
dab498651a add tests for Object.BinaryOp 2019-01-14 05:22:28 -08:00
Daniel Kang
8a2784853b add documentation comment on Object and Callable interface 2019-01-14 04:47:36 -08:00
Daniel Kang
48847c1f6d update README 2019-01-14 04:33:29 -08:00
Daniel Kang
797e3cadaa update benchmark results 2019-01-14 04:32:20 -08:00
Daniel Kang
32df2862b5 remove unnecessary function calls in VM 2019-01-14 04:32:09 -08:00
Daniel Kang
dc16c9abb2 update tests for index/slice operators 2019-01-14 04:26:20 -08:00
Daniel Kang
de70f7c40d trying to optimize VM by cutting some repeated codes 2019-01-13 15:21:19 -08:00
Daniel Kang
ca128af33b reduce number of memory allocation in object binary operators 2019-01-13 14:24:39 -08:00
Daniel Kang
d581cb24e4 remove unnecessary JMP when there's no ELSE block 2019-01-13 12:13:15 -08:00
Daniel Kang
4b370e8623 minor change in bench code 2019-01-13 11:10:55 -08:00
Daniel Kang
5383c899dc add another version of fibonacci to bench 2019-01-13 02:30:46 -08:00
Daniel Kang
967ed03ccc fix a bug in tail-call optimization code 2019-01-13 02:24:32 -08:00
Daniel Kang
adbbf419a0
Update README.md 2019-01-13 02:21:57 -08:00
Daniel Kang
bbed48ec9a
Update README.md 2019-01-13 01:04:11 -08:00
Daniel Kang
cc2b0e550d
Update README.md 2019-01-12 23:29:09 -08:00
Daniel Kang
131afe7ba3
Update README.md 2019-01-12 23:26:32 -08:00
Daniel Kang
d688d71d88
Update README.md 2019-01-12 23:14:36 -08:00
Daniel Kang
a81295c0af update README, remove some unnecessary code 2019-01-12 22:58:12 -08:00
Daniel Kang
3a9d2932b6
Update README.md 2019-01-12 22:09:43 -08:00
Daniel Kang
7970a35c61
README (#1)
update
2019-01-12 21:36:50 -08:00
Daniel Kang
c4d9500e7a add example 2019-01-12 18:26:07 -08:00
Daniel Kang
8e56bd8218 add Script.Run() method 2019-01-12 18:25:45 -08:00
Daniel Kang
2de0fa4efb minor tengo tool help change 2019-01-12 18:10:21 -08:00
Daniel Kang
7e88e104c8 combine REPL and tengo tool 2019-01-12 17:02:15 -08:00
Daniel Kang
7289d767d4 add compile-run to "tengo" tool 2019-01-12 00:19:08 -08:00
Daniel Kang
b802132c94 remove VM.Stack() function 2019-01-11 21:50:23 -08:00
Daniel Kang
94b0d52436 add tests for script custom objects 2019-01-11 03:15:31 -08:00
Daniel Kang
27438eea6f update directory package structure 2019-01-11 02:27:28 -08:00
Daniel Kang
d954348e75 update bench fibonacci tail call code 2019-01-11 01:56:19 -08:00
Daniel Kang
080e2727be minor update in repl output message 2019-01-11 01:25:38 -08:00
Daniel Kang
581aa5773d minor update in bench output 2019-01-11 01:22:21 -08:00
Daniel Kang
fbbec8853b
Create LICENSE 2019-01-11 01:17:07 -08:00
Daniel Kang
53af0d6328 move file and fileset to source package 2019-01-11 01:16:34 -08:00
Daniel Kang
b2a29342b1 tail call optimization 2019-01-11 00:53:04 -08:00
Daniel Kang
d870ebf72e variable definition (operator ":=") is now required not optional 2019-01-10 22:34:28 -08:00
Daniel Kang
54bea46d19 bench outputs expected result 2019-01-10 14:51:20 -08:00
Daniel Kang
8e5657d67c fix CharLit parser bug 2019-01-10 02:45:20 -08:00
Daniel Kang
52922512e5 add equality tests 2019-01-10 00:01:02 -08:00
Daniel Kang
b638f0db87 add objects.Callable 2019-01-09 19:07:03 -08:00
Daniel Kang
c2305f3cce fix parsing and equality bug of "undefined" 2019-01-09 17:26:30 -08:00
Daniel Kang
ce7e5cc980 type conversion builtin functions: string(), int(), bool(), float(), char() 2019-01-09 17:18:37 -08:00