xgo/runtime
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
..
errors.go limit max object allocations (#129) 2019-03-06 17:20:05 -08:00
frame.go Removed double indirection for massive performance gains (#140) 2019-03-14 01:07:19 -07:00
vm.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
vm_array_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_assignment_test.go fix bytecode encoding/decoding of builtin modules (#154) 2019-03-20 01:28:40 -07:00
vm_bitwise_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_boolean_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_builtin_test.go Custom formatter based on go's fmt package. (#185) 2019-04-13 11:29:50 -07:00
vm_bytes_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_call_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_char_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_cond_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_equality_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_error_report_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_error_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_float_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_for_in_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_for_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_function_test.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
vm_if_test.go fix a bug in dead code elimination (#168) 2019-03-31 12:20:10 -07:00
vm_immutable_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_inc_dec_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_indexable_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_integer_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_iterable_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_logic_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_map_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_module_test.go bug fix for function return and if statement (#160) 2019-03-23 12:59:54 -07:00
vm_not_operator_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_objects_limit_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_return_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_scopes_test.go Compiler optimization first iteration (#165) 2019-03-24 02:23:38 -07:00
vm_selector_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_source_modules_test.go 'enum' module (#166) 2019-03-27 01:27:59 -07:00
vm_srcmod_test.go 'enum' module (#166) 2019-03-27 01:27:59 -07:00
vm_stack_overflow_test.go Opbinaryop and other minor optimizations (#157) 2019-03-22 04:42:34 -07:00
vm_string_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_tail_call_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00
vm_test.go fix script timeout bug (#170) 2019-03-31 23:37:30 -07:00
vm_undefined_test.go module refactor (#148) 2019-03-18 08:15:26 -07:00