xgo/compiler/ast
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
..
array_lit.go
assign_stmt.go
ast.go
bad_expr.go
bad_stmt.go
binary_expr.go
block_stmt.go
bool_lit.go
branch_stmt.go
call_expr.go
char_lit.go
cond_expr.go
empty_stmt.go
error_expr.go
export_stmt.go
expr.go
expr_stmt.go
file.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
float_lit.go
for_in_stmt.go
for_stmt.go
func_lit.go
func_type.go
ident.go
ident_list.go
if_stmt.go
immutable_expr.go
import_expr.go
inc_dec_stmt.go
index_expr.go
int_lit.go
map_element_lit.go
map_lit.go
node.go
paren_expr.go
return_stmt.go
selector_expr.go
slice_expr.go
stmt.go
string_lit.go
unary_expr.go
undefined_lit.go