xgo/compiler
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
..
ast Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
parser Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
scanner Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
source Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
token Fix several module-related issues 2019-02-02 22:22:40 -08:00
bytecode.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
bytecode_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compilation_scope.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_assign.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_error_report_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_for.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_logical.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_loops.go initial commit 2019-01-08 23:17:42 -08:00
compiler_module.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_scopes.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_test.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
emitted_instruction.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
error.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
instructions.go Error Object (#4) 2019-01-16 12:23:20 -08:00
instructions_test.go initial commit 2019-01-08 23:17:42 -08:00
loop.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
module_loader.go Modules (#5) 2019-01-17 01:56:05 -08:00
opcodes.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
opcodes_test.go Error Object (#4) 2019-01-16 12:23:20 -08:00
symbol.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
symbol_scopes.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
symbol_table.go Fix a closure-block scope bug (#99) 2019-02-11 17:34:02 -08:00
symbol_table_test.go Fix several module-related issues 2019-02-02 22:22:40 -08:00