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
Daniel Kang
37016f4e17
add 'printf' and 'sprintf' builtin functions
2019-01-24 16:38:04 -08:00
Daniel Kang
1315489a4a
Merge pull request #41 from d5/sandbox
...
sandbox environment for scripts
2019-01-24 14:00:44 -08:00
Daniel Kang
a9eaf06b9a
update interop sandbox document
2019-01-24 13:56:41 -08:00
Daniel Kang
88ba20da4e
add Script.DisableBuiltinFunction, Script.DisableStdModule, Script.SetUserModuleLoader functions
2019-01-24 13:08:53 -08:00
Daniel Kang
1acaf3395b
Merge pull request #40 from d5/d5-patch-1
...
add goja to benchmark
2019-01-24 12:50:33 -08:00
Daniel Kang
0b11e7dea7
add goja to benchmark
2019-01-24 12:47:39 -08:00
Daniel Kang
c816b705c1
Merge pull request #36 from d5/doc
...
Documentation directory (/docs)
2019-01-23 20:16:36 -08:00
Daniel Kang
46707f6fad
add a sample
2019-01-23 20:12:34 -08:00
Daniel Kang
586a92f68e
update README
2019-01-23 17:44:32 -08:00
Daniel Kang
e445fd0f3f
update interoperability
2019-01-23 17:35:57 -08:00
Daniel Kang
fa215b083b
update docs
2019-01-23 16:30:41 -08:00
Daniel Kang
2a144dc497
add docs directory and move some documents from Wiki
2019-01-23 15:39:05 -08:00
Daniel Kang
4fd883616a
Merge pull request #35 from d5/iterable
...
Iterable interface
2019-01-23 13:41:59 -08:00
Daniel Kang
2486457fdf
add Iterable interface
2019-01-23 13:36:03 -08:00
Daniel Kang
c7ae181623
Merge pull request #32 from d5/d5-patch-1
...
Documentation
2019-01-23 13:06:18 -08:00
Daniel Kang
9b0dcf4989
Update README.md
2019-01-23 10:21:25 -08:00
Daniel Kang
ddd9fa89a3
Update README.md
2019-01-23 09:54:57 -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
6a5e4f7d00
Merge pull request #29 from mdbazuin/feature/encoding-json
...
Added builtin functions to_json and from_json
2019-01-23 09:27:09 -08:00
Mike Bazuin
e94b3dab0f
Added builtin function from_json
...
objects/builtin_json.go:
- Added function builtinFromJSON
objects/builtins.go:
- Added builtin function from_json
runtim/vm_builtin_test.go:
- Added tests for builtin function from_json
2019-01-23 17:24:53 +01:00
Mike Bazuin
c4e6e61fb6
Added builtin function to_json
...
objects/builtin_json.go:
- Added function builtinToJSON
objects/builtins.go:
- Added builtin function to_json
runtime/vm_builtin_test.go
- Added tests for builtin function to_json
2019-01-23 17:24:53 +01:00
Mike Bazuin
65f84ec2d1
Added conversion functions: objectToInterface
...
objects/conversion.go:
- Added private helper function
2019-01-23 17:23:51 +01:00
Daniel Kang
1045afd5a4
add Indexable / IndexAssignable interface
2019-01-22 15:44:37 -08:00
Mike Bazuin
d8c83b6578
Moved interfaceToObject from scripts/conversion.go to objects/conversion.go as FromInterface
2019-01-22 21:09:52 +01:00
Daniel Kang
a32ef0a3c6
Merge pull request #28 from saromanov/fix-deprecated-values
...
os: use SeekStart, SeekCurrent and SeekEnd instead deprecated values
2019-01-21 07:18:01 -08:00
Sergey
c087ba891b
os: use SeekStart, SeekCurrent and SeekEnd instead deprecated values
2019-01-21 15:39:10 +05:00
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