melon icon indicating copy to clipboard operation
melon copied to clipboard

The Melon programming language

Results 28 melon issues
Sort by recently updated
recently updated
newest added

We should explain how to run the stand-alone interpreter from the command line

documentation

It's probably best to rename `types.isClosure` to `types.isFunction`. Even if they are called `Closures` by the VM they are `Function`s for the end-user.

enhancement
good first issue

Both `random.getRandomInt` and `random.getRandomNumber` force both `min` and `max` to be specified or not specified. They should simply fallback to the default value if one is not specified.

enhancement
good first issue

`function.getName` returns the string `@anonymous@` if the function has no value. It should simply return `null`.

enhancement
good first issue

It has a precedence of `2` while it should have `6` like the equality operator.

bug
good first issue

Consider the following code: ```js let myFunc = |a, b, ...rest| => { io.print(#rest); }; myFunc(1, 2); ``` This code will print `1`, the `rest` array will be only contain...

bug

Comparing array references triggers an assert in `value.c`.

bug
good first issue

The slicing operator's end index is inclusive but it's more intuitive for it to be exclusive.

bug