...already commented in the other thread - Conditions in loops processed as AssignmentExpression, should be Expression what I 'feel' about these things... and I notice, @Gordon, you use the same 'trick' for making the parser happy as I do for the lint: pack it into parens. Now, if the parens get removed - by the minifier - it stays an issue if such constructs are actually of practical use.
Espruno - as interpreting off of the source without creating byte code ahead of execution - and that would still be the case for the planned JIT compiling down into (thumb)assembler code - should not be bothered and slowed down by a theoretical or 'by the letter' exercise that has shown not to buy/cut me a single slice of bread (hout mer ke Schibe Brot abb) to secure my going.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
...already commented in the other thread - Conditions in loops processed as AssignmentExpression, should be Expression what I 'feel' about these things... and I notice, @Gordon, you use the same 'trick' for making the parser happy as I do for the lint: pack it into parens. Now, if the parens get removed - by the minifier - it stays an issue if such constructs are actually of practical use.
Espruno - as interpreting off of the source without creating byte code ahead of execution - and that would still be the case for the planned JIT compiling down into (thumb)assembler code - should not be bothered and slowed down by a theoretical or 'by the letter' exercise that has shown not to buy/cut me a single slice of bread (hout mer ke Schibe Brot abb) to secure my going.