Commit graph

276 commits

Author SHA1 Message Date
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
Daniel Kang
046efa4f23 global size changed to 1024 2019-01-09 14:10:47 -08:00
Daniel Kang
928a728f78 initial version of "tengo" CLI tool 2019-01-09 13:49:50 -08:00
Daniel Kang
cce71f0cd5 update script package 2019-01-09 12:39:40 -08:00
Daniel Kang
60c95c5de8 token.CHAR -> token.Char, token.STRING -> token.String 2019-01-09 08:58:18 -08:00
Daniel Kang
2c3282da21 initial commit 2019-01-08 23:17:42 -08:00