Commit graph

311 commits

Author SHA1 Message Date
Daniel Kang
bf934d0086
Update README.md 2019-01-20 13:19:24 -08:00
Daniel Kang
cb4b46823a
Merge pull request #27 from d5/d5-patch-1
Add gpython to benchmark result
2019-01-20 13:18:04 -08:00
Daniel Kang
c1899f3b5d
Add gpython to benchmark result 2019-01-20 13:14:25 -08:00
Daniel Kang
2caa4d19c7
Update README.md 2019-01-20 08:55:46 -08:00
Daniel Kang
00168726d6
Merge pull request #25 from d5/scriptctx
Add Context to script run
2019-01-20 08:48:10 -08:00
Daniel Kang
880a281dfb Remove a link (standalone language) from README 2019-01-20 08:35:44 -08:00
Daniel Kang
336fbc30e5 some performance optimization in VM 2019-01-20 08:32:12 -08:00
Daniel Kang
88dd0224d5 use atomic.Load/Store to avoid data race 2019-01-20 06:33:22 -08:00
Daniel Kang
04bb0f5e62 add context to script run 2019-01-20 04:59:43 -08:00
Daniel Kang
47418fddac
Merge pull request #23 from d5/gover
Go 1.9
2019-01-19 20:50:12 -08:00
Daniel Kang
57700aceb1 add build status to README 2019-01-19 20:46:32 -08:00
Daniel Kang
81fdf10f8c remove 'mode_irregular' from 'os' module 2019-01-19 20:38:01 -08:00
Daniel Kang
ff725f3609 install golint in travis 2019-01-19 20:34:52 -08:00
Daniel Kang
e909415c7c fix travis setup 2019-01-19 20:30:38 -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
d55b667616
Merge pull request #21 from 0xflotus/patch-1
fixed extensible
2019-01-19 14:24:46 -08:00
0xflotus
92c0ad39bf
fixed extensible 2019-01-19 13:16:32 +01:00
Daniel Kang
a95fbbda0b
Merge pull request #20 from d5/d5-patch-1
Add Starlark benchmark result
2019-01-19 02:44:54 -08:00
Daniel Kang
5ab5db05a5
Update README.md 2019-01-19 02:43:55 -08:00
Daniel Kang
bf7992292a
Merge pull request #18 from d5/d5-patch-1
Roadmap
2019-01-19 01:44:45 -08:00
Daniel Kang
66fbb50329
Update README.md 2019-01-19 01:36:17 -08:00
Daniel Kang
8027f96fee
Update README.md 2019-01-19 01:33:06 -08:00
Daniel Kang
814851abe6 fix compile errors 2019-01-18 14:52:07 -08:00
Daniel Kang
fa294d9731
Merge pull request #14 from mdbazuin/feature/7-type-conversion-defaults
Type conversion builtin take default values
2019-01-18 14:47:50 -08:00
Mike Bazuin
fae85000cf Convert returns second argument Object as it self in case of failure of conversion of first argument
objects/builtin_convert.go
- Changed type check of in case of args[0] failure to always return
  args[1] if set

runtime/vm_builtin_test.go:
- Changed tests according to changes in objects/builtin_convert.go
2019-01-18 23:29:04 +01:00
Mike Bazuin
a747c98fb5 Builtin converts now take default values
objects/builtin_convert.go: Added defaults to all builtin convert functions except
bool as this one returns false for undefined, instead of undefined.

runtime/vm_builtin_test.go: Added tests for checking default value
behaviour for builtin convert funcs
2019-01-18 22:21:42 +01:00
Mike Bazuin
b4a2da8a30 runtime/vm_builtin_test.go: Added builtin bytes convert test 2019-01-18 22:21:35 +01:00
Daniel Kang
f482de6d69
Merge pull request #9 from d5/osmod
Module "os"
2019-01-18 10:56:46 -08:00
Daniel Kang
b3d4854961 update README 2019-01-18 10:52:12 -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
bff59006d1 add Variable.Error() function 2019-01-18 02:33:23 -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
552e9c01c5 separate objects conversion functions 2019-01-17 16:52:07 -08:00
Daniel Kang
cb5cbad3ad len builtin supports map and module map 2019-01-17 16:51:26 -08:00
Daniel Kang
d4757efc68 use 'strconv.Quote()` instead of string formatter 2019-01-17 16:51:00 -08:00
Daniel Kang
f145261e85
Update README.md 2019-01-17 09:39:23 -08:00
Daniel Kang
5fa340c7d4
Update README.md 2019-01-17 08:12:53 -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
1cf3258023 remove 2019-01-15 20:21:53 -08:00
Daniel Kang
47da30bb5b some more tests in objects 2019-01-15 20:21:35 -08:00
Daniel Kang
2ceaf3bd8f remove CircleCI 2019-01-15 20:14:48 -08:00
Daniel Kang
5c5d0e6ad9 fix CircleCI setup 2019-01-15 20:09:32 -08:00
Daniel Kang
6bc2cbe2a7 add CircleCI config 2019-01-15 20:08:16 -08:00