Michel Hermier

Results 438 comments of Michel Hermier

I did the implementation with `var` for testing and it rise a problem where we get a *surprising* behavior with: ```javascript var a = expr while (var a = fn.call(a)...

It is not a problem of not doing it, it was trivial ~ 20 lines to add to the compiler, so it is conforming to the `var` semantic. But it...

The implementation comes with the revival of `DUP` opcode (why oh why all the good stuff need it XD), so it has to be thought a little bit more first....

I don't reject the arguments, but I think they are only valid if you consider the value as not defined prior to usage. Most languages assume that the bits gets...

This is experimental, naming and implementation is not final: https://github.com/mhermier/wren/tree/experimental_inline_variable_declaration

The branch I published contains the conformant version, I need to do a little bit more work to make the other behavior. To understand the problem with functions I'll take...

That differentiatior doesn't work as soon as you enter a scope as per definition of that rules. Most of function (in particular the ones with captured values) are not defined...

I also thought about something like that, but the writing is tricky. I didn't though about adding a number, it is better than my ideas so far. A stupid idea...

I'll say it again, but why not something like the `^` operator I try to introduce? Ex `^^break` would exit the third level of loop, `^continue` would restart second level...

None of the solution doesn't go well with the syntax. Adding labels introduce a loophole where people will want to have goto, and fells not really integrated since it requires...