xgo/compiler/parser
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
..
error.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
error_list.go fix golint, ineffectassign issues and add some more tests 2019-01-15 10:14:16 -08:00
error_list_test.go fix golint, ineffectassign issues and add some more tests 2019-01-15 10:14:16 -08:00
error_test.go fix golint, ineffectassign issues and add some more tests 2019-01-15 10:14:16 -08:00
parse_file.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
parse_source.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
parser.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
parser_array_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_assignment_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_boolean_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_call_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_char_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_cond_test.go parser implementation for conditional expression 2019-01-27 16:25:12 -08:00
parser_error_test.go Modules (#5) 2019-01-17 01:56:05 -08:00
parser_for_in_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_for_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_function_test.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
parser_if_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_import_test.go Modules (#5) 2019-01-17 01:56:05 -08:00
parser_index_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_logical_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_map_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_precendence_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_selector_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_semicolon_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_string_test.go update directory package structure 2019-01-11 02:27:28 -08:00
parser_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
sync.go Fix several module-related issues 2019-02-02 22:22:40 -08:00