xgo/objects
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
..
array.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
array_iterator.go add Iterable interface 2019-01-23 13:36:03 -08:00
array_test.go add tests for Object.BinaryOp 2019-01-14 05:22:28 -08:00
bool.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
builtin_append.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
builtin_convert.go Limit the maximum size of string/bytes values (#121) 2019-03-01 10:48:02 -08:00
builtin_copy.go Modules (#5) 2019-01-17 01:56:05 -08:00
builtin_format.go Custom formatter based on go's fmt package. (#185) 2019-04-13 11:29:50 -07:00
builtin_function.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
builtin_len.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
builtin_module.go fix bytecode encoding/decoding of builtin modules (#154) 2019-03-20 01:28:40 -07:00
builtin_type.go feat: add builtin function: type 2019-01-28 13:19:03 +08:00
builtin_type_checks.go 'enum' module (#166) 2019-03-27 01:27:59 -07:00
builtins.go Custom formatter based on go's fmt package. (#185) 2019-04-13 11:29:50 -07:00
bytes.go minor lint fixes (#182) 2019-04-10 21:39:19 -07:00
bytes_iterator.go 'enum' module (#166) 2019-03-27 01:27:59 -07:00
callable.go Modules (#5) 2019-01-17 01:56:05 -08:00
callable_func.go add module-import tests to most of runtime package (#125) 2019-03-01 15:55:29 -08:00
char.go 1. Added documentation on operators. 2. Add (char)-(int) operators 2019-02-01 16:58:44 -08:00
closure.go Removed double indirection for massive performance gains (#140) 2019-03-14 01:07:19 -07:00
compiled_function.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
conversion.go minor lint fixes (#182) 2019-04-10 21:39:19 -07:00
count_objects.go limit max object allocations (#129) 2019-03-06 17:20:05 -08:00
count_objects_test.go limit max object allocations (#129) 2019-03-06 17:20:05 -08:00
error.go Error Object (#4) 2019-01-16 12:23:20 -08:00
error_test.go Error Object (#4) 2019-01-16 12:23:20 -08:00
errors.go Limit the maximum size of string/bytes values (#121) 2019-03-01 10:48:02 -08:00
float.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
float_test.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
formatter.go Custom formatter based on go's fmt package. (#185) 2019-04-13 11:29:50 -07:00
immautable_array.go IndexGet of Array, Index, ImmutableIndex, Bytes, String, Undefined 2019-02-09 16:45:21 -08:00
immutable_map.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
importable.go fix bytecode encoding/decoding of builtin modules (#154) 2019-03-20 01:28:40 -07:00
index_assignable.go add Indexable / IndexAssignable interface 2019-01-22 15:44:37 -08:00
indexable.go add Indexable / IndexAssignable interface 2019-01-22 15:44:37 -08:00
int.go 1. Added documentation on operators. 2. Add (char)-(int) operators 2019-02-01 16:58:44 -08:00
int_test.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
iterable.go add Iterable interface 2019-01-23 13:36:03 -08:00
iterator.go split iterator files 2019-01-14 23:52:52 -08:00
map.go Made map IndexSet and IndexGet consistent. (#179) 2019-04-08 19:54:02 -07:00
map_iterator.go add Iterable interface 2019-01-23 13:36:03 -08:00
map_test.go Made map IndexSet and IndexGet consistent. (#179) 2019-04-08 19:54:02 -07:00
module_map.go 'enum' module (#166) 2019-03-27 01:27:59 -07:00
object.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
object_ptr.go Removed double indirection for massive performance gains (#140) 2019-03-14 01:07:19 -07:00
object_test.go minor lint fixes (#182) 2019-04-10 21:39:19 -07:00
objects.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
objects_test.go force using TrueValue, FalseValue, UndefinedValue 2019-01-28 13:09:40 -08:00
source_module.go module refactor (#148) 2019-03-18 08:15:26 -07:00
string.go Limit the maximum size of string/bytes values (#121) 2019-03-01 10:48:02 -08:00
string_iterator.go add Iterable interface 2019-01-23 13:36:03 -08:00
string_test.go add tests for Object.BinaryOp 2019-01-14 05:22:28 -08:00
time.go add Time type; add is_array, is_immutable_array, is_map, is_immutable_map, is_time, time builtin function 2019-01-29 16:01:14 -08:00
undefined.go Fixed runtime error when iterating over undefined. (#177) 2019-04-08 19:52:37 -07:00
user_function.go fix bytecode encoding/decoding of builtin modules (#154) 2019-03-20 01:28:40 -07:00