Talk:Stackint

From Esolang
Jump to navigation Jump to search

How would I print anything? Willicoder (talk) 16:44, 23 April 2020 (UTC)

You have to wait until the end of the program, when the stack gets printed out; during execution, however, no output is possible. PythonshellDebugwindow (talk) 17:09, 23 April 2020 (UTC)

There is an issue with your interpreter. Invalid user input should push 0, not raise an error. Also, line 49 should be stack.append(stack[-1]), as it currently raises an error. PythonshellDebugwindow (talk) 17:32, 23 April 2020 (UTC)

Fixed! Thanks for the help. Willicoder (talk) 17:51, 23 April 2020 (UTC)