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
source
token
bytecode.go
bytecode_decode.go
bytecode_optimize.go
bytecode_test.go
compilation_scope.go
compiler.go add variadic function parameters () 2019-04-25 21:28:27 -07:00
compiler_assign.go
compiler_error_report_test.go
compiler_for.go
compiler_logical.go
compiler_loops.go
compiler_module.go
compiler_optimize_test.go
compiler_scopes.go
compiler_scopes_test.go
compiler_test.go add variadic function parameters () 2019-04-25 21:28:27 -07:00
emitted_instruction.go
error.go
instructions.go
instructions_test.go
loop.go
module_loader.go
opcodes.go
opcodes_test.go
symbol.go
symbol_scopes.go
symbol_table.go
symbol_table_test.go