xgo/compiler
Jacob R. McCollum adcf05d26f add variadic function parameters (#189)
* parsing variable function types

* finished variadic functions

* fix case where number of passed args to variadic function is 0

* remove extraneous OpVarArgs

* allow multiple variables in variadic function declaration

* fix IdentList string method to print multi-arg variadic functions correctly

* round 2 of fix IdentList string method to print multi-arg variadic functions correctly

round 2 of fix IdentList string method to print multi-arg variadic functions correctly

* clean up tasks in OpCall handling, add tests for variadic closures

* cleanup for pr

- add syntax documentation
- cleanup parseIdentList
- cleanup OpCall handling for functions and closures
- cleanup tests
2019-04-25 21:28:27 -07:00
..
ast add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
parser add variadic function parameters (#189) 2019-04-25 21:28:27 -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 fix bytecode encoding/decoding (#152) 2019-03-19 09:43:03 -07:00
bytecode_decode.go fix bytecode encoding/decoding of builtin modules (#154) 2019-03-20 01:28:40 -07:00
bytecode_optimize.go fix bytecode encoding/decoding (#152) 2019-03-19 09:43:03 -07:00
bytecode_test.go Opbinaryop and other minor optimizations (#157) 2019-03-22 04:42:34 -07:00
compilation_scope.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
compiler.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
compiler_assign.go Opbinaryop and other minor optimizations (#157) 2019-03-22 04:42:34 -07: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 Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
compiler_optimize_test.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
compiler_scopes.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
compiler_scopes_test.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
compiler_test.go add variadic function parameters (#189) 2019-04-25 21:28:27 -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 minor lint fixes (#182) 2019-04-10 21:39:19 -07:00
instructions_test.go Opbinaryop and other minor optimizations (#157) 2019-03-22 04:42:34 -07: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 Opbinaryop and other minor optimizations (#157) 2019-03-22 04:42:34 -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 minor lint fixes (#182) 2019-04-10 21:39:19 -07:00
symbol_table.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
symbol_table_test.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00