-
Currently the code ```[1,2] == [1,2]``` returns `false`. I can't find anything in the documentation as to why this would be. Equality on lists should really be supported.
-
As seen here https://prog21.dadgum.com/32.html
The suffix "K" to indicate kilobytes in numeric literals. For example, you can say "16K" instead of "16384". How many times have you seen C code like …
-
According to documentation, the VM is not reenterable:
> While your foreign method is executing, the VM is completely suspended. No other fibers run until your foreign method returns. You should no…
-
In #155 it was mentioned, but I think I came up here with a more detailed proposal, and also this issue was closed because the original as not helpful feature which I think is wrong (I will explain in…
-
I just tried installing the Nimble package, and I tried to run the following source code:
```nim
import wren
var vm = defaultConfig().newVM()
echo vm.interpret("main", """System.print("Hello, Wo…
-
Frequently/trivially, we need to do assertion checks in code. I would like to hear about what you think about adding it to the language. Trivially, we need to be able to do:
```
assert(check) { asse…
-
It would require to add a `switch` keyword. But `case` and `default` can be replaced with other available symbols like `|` and `else`. It has implicit return.
Other alternatives to `else` as sugges…
-
A useful method which many languages have is a `distinct` or `unique` method which removes duplicates from a list or array and I'd like to propose that we add something similar to Wren.
The most ob…
-
In Wren, assignment returns its value, like in C:
```wren
var a
System.print(a = 5) // 5
```
When implementing setters, we need to maintain this behavior:
```wren
// Not good
class C {
stat…
-
At present `break` and `continue` only break out of or continue from the end of the immediately enclosing loop (`for` or `while`).
If you want to break out of two nested loops from the inner one yo…