xgo/compiler
Jacob R. McCollum adcf05d26f add variadic function parameters ()
* 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 () 2019-04-25 21:28:27 -07:00
parser add variadic function parameters () 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
bytecode.go fix bytecode encoding/decoding () 2019-03-19 09:43:03 -07:00
bytecode_decode.go fix bytecode encoding/decoding of builtin modules () 2019-03-20 01:28:40 -07:00
bytecode_optimize.go fix bytecode encoding/decoding () 2019-03-19 09:43:03 -07:00
bytecode_test.go Opbinaryop and other minor optimizations () 2019-03-22 04:42:34 -07:00
compilation_scope.go Compiler optimization first iteration () 2019-03-24 02:23:38 -07:00
compiler.go add variadic function parameters () 2019-04-25 21:28:27 -07:00
compiler_assign.go Opbinaryop and other minor optimizations () 2019-03-22 04:42:34 -07:00
compiler_error_report_test.go module refactor () 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
compiler_module.go Compiler optimization first iteration () 2019-03-24 02:23:38 -07:00
compiler_optimize_test.go Compiler optimization first iteration () 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 () 2019-03-24 02:23:38 -07:00
compiler_test.go add variadic function parameters () 2019-04-25 21:28:27 -07:00
emitted_instruction.go
error.go Runtime error trace format () 2019-02-22 13:39:07 -08:00
instructions.go minor lint fixes () 2019-04-10 21:39:19 -07:00
instructions_test.go Opbinaryop and other minor optimizations () 2019-03-22 04:42:34 -07:00
loop.go
module_loader.go
opcodes.go Opbinaryop and other minor optimizations () 2019-03-22 04:42:34 -07:00
opcodes_test.go
symbol.go
symbol_scopes.go minor lint fixes () 2019-04-10 21:39:19 -07:00
symbol_table.go Compiler optimization first iteration () 2019-03-24 02:23:38 -07:00
symbol_table_test.go Compiler optimization first iteration () 2019-03-24 02:23:38 -07:00