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 Modules (#5) 2019-01-17 01:56:05 -08:00
assign_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
ast.go update directory package structure 2019-01-11 02:27:28 -08:00
bad_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
bad_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
binary_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
block_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
bool_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
branch_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
call_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
char_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
cond_expr.go parser implementation for conditional expression 2019-01-27 16:25:12 -08:00
empty_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
error_expr.go Error Object (#4) 2019-01-16 12:23:20 -08:00
export_stmt.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
expr_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
file.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
float_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
for_in_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
for_stmt.go Modules (#5) 2019-01-17 01:56:05 -08:00
func_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
func_type.go Modules (#5) 2019-01-17 01:56:05 -08:00
ident.go Modules (#5) 2019-01-17 01:56:05 -08:00
ident_list.go Modules (#5) 2019-01-17 01:56:05 -08:00
if_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
immutable_expr.go adding immutable value (incomplete) 2019-01-24 19:31:17 -08:00
import_expr.go Modules (#5) 2019-01-17 01:56:05 -08:00
inc_dec_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
index_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
int_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
map_element_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
map_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
node.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
paren_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
return_stmt.go remove unused code for tuple value return 2019-01-30 02:01:44 -08:00
selector_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
slice_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
string_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
unary_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
undefined_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00