xgo/script
Daniel 3500c686b3
Improvements on compiler/VM error reporting (filename:line:col)
- add type infos to VM error messages
- add 'Name' to UserFunction objects 
- add 'expectErrorString' to VM tests
- replace vm.expectError() with vm.expectErrorString() to make it more explicit
- add source map info to VM error messages
- optimization in function calls
- add file/line/col info to compiler errors
- change stdlib module to be loaded from VM (instead of compiler) so they can be properly loaded after the source is compiled into binary
- VM can take builtin modules optionally
2019-02-20 16:26:11 -08:00
..
compiled.go add script.Compiled.Set function so compiled script can replace value of global variables 2019-02-01 11:09:12 -08:00
compiled_test.go add script.Compiled.Set function so compiled script can replace value of global variables 2019-02-01 11:09:12 -08:00
conversion.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
script.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
script_custom_test.go add tests for script custom objects 2019-01-11 03:15:31 -08:00
script_module_test.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
script_test.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
variable.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
variable_test.go add more strings functions to text module 2019-01-28 19:30:32 -08:00