Talk:Deadfish 2

Is the h command implied at EOF? Darkrifts (talk) 02:45, 18 August 2016 (UTC)

Technically no, the "h" command only halts the program (sends it in to an infinite loop). If there were some way to jump to a position or skip this command then you'd have to be able to read the code after the "h" command. But since Deadfish 2 doesn't have a way to skip commands then you could implement it as if it were an EOF. DatCodingGuy (talk) 7:17, 19 August 2016 (GMT+10:00)

Wait, h doesn't end the program, just causes it to stall forever? Darkrifts (talk) 22:44, 18 August 2016 (UTC)

Yeah, by default that's what halt commands do and since it just says "Halt the program" I assume that's what it means. DatCodingGuy (talk) 10:39, 19 August 2016 (GMT+10:00)

I actually read your first comment incorrectly the first time, I thought you said "implied 'as' EOF" not "implied 'at' EOF". I guess it depends on the interpreter, in my interpreter I haven't done that. If there is no h command the program will terminate instantly DatCodingGuy (talk) 15:55, 19 August 2016 (GMT+10:00)