IRC Logs for #io Thursday, 2019-02-07

*** Anderlok has joined #io00:42
*** Anderlok has left #io ()00:42
*** Cullran has joined #io01:51
*** Cullran has left #io ()01:51
*** ogru has joined #io03:08
*** ogru has left #io ()03:08
*** Ghan has joined #io03:39
*** Ghan has left #io ()03:39
prologicjer hmm I'm doing something really wrong. my fix fixed one case; but now I run into other similar issues13:30
prologic:/13:30
jerheh, now you should try doing this in hardware on an fpga =D14:43
jersoftware never looked so easy14:43
jerwhat specifically is the issue?14:43
prologicfor example21:00
prologicwhile (false) { }21:00
prologicproduces a Pop but there's nothing on the stack21:00
prologicafter the whole while ast node that is21:00
prologicalso have similar edge cases like:21:01
prologic+               {"let n = 2; let x = 0; while (n > 0) { if (n > 1) { x = x + 1 }; n = n - 1; }; x;", 1},21:01
prologic+               {"let n = 2; let x = 0; while (n > 0) { if (n > 1) { x = x + 1 }; let n = n - 1; }; x;", 1},21:01
jerhave you isolated it to the while statement?21:15

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!