如何运行深奥的语言ZOMBIE [英] How to run Esoteric Language ZOMBIE

查看:82
本文介绍了如何运行深奥的语言ZOMBIE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何编译和运行用ZOMBIE编写的程序吗?例如,如果我编写了以下源代码线以在屏幕上打印出"hello world",则如何从中制作一个.exe文件.谢谢!

Can anyone please tell me how can I compile and run a program written on ZOMBIE? For example, if I wrote the following source cord to print out "hello world" on to the screen, how can I make an .exe file out of it. Thanks!

HelloWorld is a zombie 
summon   
task SayHello
  say "Hello World!"
animate
animate

推荐答案

该语言似乎没有编译器.仅存在用Python编写的解释器.

There doesn't seem to be a compiler for this language. Only an interpreter written in Python exists.

但是,由于它是用Python编写的,因此您可以将Environment.__init__从读取文件更改为直接嵌入源代码,然后

However, since it is written in Python, you could change Environment.__init__ from reading a file to directly embedding your source code, then generate an exe out of it.

这篇关于如何运行深奥的语言ZOMBIE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆