Headline/discord-compiler-bot

Assembly for Javascript---infinite loop

narraritwin opened this issue · 3 comments

The following code hasn't finished being compiled into assembly (via ;asm js), and it's been 45 minutes.

for (let i = 0; i<i+++--i; i+=i--+(++i)) {
  console.log(i);
}

Hi! Thanks for submitting

This is a duplicate of #121, the request never left the bot and errored out before any type of processing could take place. Only languages with the * in the ;languages command can have their assembly viewed.

Perhaps the bot could reply with some message then? Such as

Cannot compile {language} to assembly.

Right, just submitted a patch to cover this. The change should now be reflected on the live bot. Thanks again!