这个简单的数字相加和输出代码怎么不起作用? (空白语言)
How is this simple add numbers and output code doesn't work? (Whitespace language)
我要代码输出5,这是从2+3得到的(手动从栈中输入)
[space][space][space][tab][space] push 2
[space][space][space][tab][tab] push 3
[tab][space][space][space] add together
[tab][lf]
[space][tab] output number
但是好像说是无效的行尾?发生什么事了?
推送命令应以换行结束,
所以它可能应该是(以 one-instruction-per-line 格式,即只有带注释的字符才有意义)
[space][space][space][tab][space][lf]
[space][space][space][tab][tab][lf]
[tab][space][space][space]
[tab][lf][space][tab]
我要代码输出5,这是从2+3得到的(手动从栈中输入)
[space][space][space][tab][space] push 2
[space][space][space][tab][tab] push 3
[tab][space][space][space] add together
[tab][lf]
[space][tab] output number
但是好像说是无效的行尾?发生什么事了?
推送命令应以换行结束, 所以它可能应该是(以 one-instruction-per-line 格式,即只有带注释的字符才有意义)
[space][space][space][tab][space][lf]
[space][space][space][tab][tab][lf]
[tab][space][space][space]
[tab][lf][space][tab]