问题
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
回答1:
There doesn't seem to be a compiler for this language. Only an interpreter written in Python exists.
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.
回答2:
Since you probably use Interpreter to run the program this language, then compiled. echo file is not likely to be done
来源:https://stackoverflow.com/questions/3210165/how-to-run-esoteric-language-zombie