stacky:Stacky - 基于堆栈的语言

时间:2021-06-13 13:04:13
【文件属性】:
文件名称:stacky:Stacky - 基于堆栈的语言
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-13 13:04:13
Go Stacky - 基于堆栈的语言 Stacky 是一种在实现的基于堆栈的语言。 ; (This is a comment) ; Let's push a number to the stack Literal 42 ; Now, let's add two numbers Literal 2 Literal 2 Add ; Let's view the stack DBGSTK ; [42 4] should have been printed to your screen 您可以使用stacky examples/tutorial.st (stacky 后)运行上面的示例。 安装 go get github.com/medimatrix/stacky 您现在可以运行stacky 。 参考 注释 任何以分号 ( ; ) 开头的行都被视为注释并将被忽略。 评
【文件预览】:
stacky-master
----main.go(321B)
----stacky()
--------parser.go(2KB)
--------vm_test.go(2KB)
--------instructions.go(174B)
--------vm.go(2KB)
----examples()
--------hello.st(128B)
--------tutorial.st(258B)
--------add.st(247B)
----LICENSE.md(1KB)
----README.md(2KB)

网友评论