xgo/compiler
Daniel 61890b15cb
module refactor (#148)
* wip

* move print and JSON functions to modules

* builtin functions are not replacable now

* builtin functions are added for default nil symbol table

* importables: builtin modules and source modules

* refactoring runtime tests

* fix tests

* update documentation

* cleanup

* clean up cli

* fix REPL prints
2019-03-18 08:15:26 -07:00
..
ast Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
parser module refactor (#148) 2019-03-18 08:15:26 -07: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 limit max object allocations (#129) 2019-03-06 17:20:05 -08:00
bytecode_optimize.go module refactor (#148) 2019-03-18 08:15:26 -07:00
bytecode_test.go limit max object allocations (#129) 2019-03-06 17:20:05 -08:00
compilation_scope.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler.go module refactor (#148) 2019-03-18 08:15:26 -07: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 module refactor (#148) 2019-03-18 08:15:26 -07: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 module refactor (#148) 2019-03-18 08:15:26 -07:00
compiler_scopes.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
emitted_instruction.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
error.go Runtime error trace format (#111) 2019-02-22 13:39:07 -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 module refactor (#148) 2019-03-18 08:15:26 -07: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 add helper functions for builtin functions and builtin modules (#122) 2019-02-28 18:41:29 -08:00
symbol_table_test.go Fix several module-related issues 2019-02-02 22:22:40 -08:00