xgo/runtime
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
..
errors.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
frame.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
vm.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_array_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_assignment_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_bitwise_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_boolean_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_builtin_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_bytes_test.go IndexGet of Array, Index, ImmutableIndex, Bytes, String, Undefined 2019-02-09 16:45:21 -08:00
vm_call_test.go update documentation 2019-01-31 00:39:45 -08:00
vm_char_test.go 1. Added documentation on operators. 2. Add (char)-(int) operators 2019-02-01 16:58:44 -08:00
vm_cond_test.go ternary conditional expression implementation 2019-01-27 17:28:30 -08:00
vm_equality_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_error_report_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_error_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_float_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_for_in_test.go Modules (#5) 2019-01-17 01:56:05 -08:00
vm_for_test.go Fix a bug for 'for' loop without condition: "for {}" (#100) 2019-02-12 01:28:23 -08:00
vm_function_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_if_test.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
vm_immutable_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_inc_dec_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_indexable_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_integer_test.go 1. Added documentation on operators. 2. Add (char)-(int) operators 2019-02-01 16:58:44 -08:00
vm_iterable_test.go add Iterable interface 2019-01-23 13:36:03 -08:00
vm_logic_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_map_test.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
vm_module_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_not_operator_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_return_test.go update directory package structure 2019-01-11 02:27:28 -08:00
vm_selector_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_string_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_tail_call_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
vm_undefined_test.go IndexGet of Array, Index, ImmutableIndex, Bytes, String, Undefined 2019-02-09 16:45:21 -08:00