xgo/stdlib
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 Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
func_typedefs.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
func_typedefs_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
math.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
os.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
os_exec.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
os_file.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
os_process.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
os_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
rand.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
rand_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
stdlib.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
stdlib_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
text.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
text_regexp.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
text_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
times.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
times_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00