文件名称:台风:蛇在rbx头上。 Rubinius VM的Python实现
文件大小:74KB
文件格式:ZIP
更新时间:2024-02-21 07:33:10
python language compiler rubinius-vm typhon
Typhon是扭曲的Python。 Rubinius VM的Python实现。 为什么? 纯娱乐!。 Python是目前最流行的动态语言之一,它上面有许多项目,并且有大量可用的库。 因此,我想在Rubinius上实现该功能将使Rubinius成为VM领域的佼佼者。 另外,Rubinius VM是一款非常简洁的软件,所有很酷的孩子都在使用它来实现ruby之外的其他语言。 也许Rubinius VM可以完成Parrot最初的意图。 (运行多种动态语言) 要求 Python2 鲁比尼乌斯头 耙 试试吧 # Set rubinius as your current ruby. $ rvm use rbx # Get usage help $ ./bin/typhon --help # Run the hello world example $ ./bin/typhon examples/hello.py # If you want to run all the specs $ rake spec # Try -C --print-all on your pytho
【文件预览】:
typhon-master
----.gitignore(21B)
----etc()
--------typhon-logo.png(16KB)
--------typhon-logo.svg(16KB)
----bin()
--------node.py(3KB)
--------typhon(413B)
--------pyparse.py(2KB)
----LICENSE(2KB)
----examples()
--------hello.py(46B)
--------embed_func.py(288B)
--------import_as.py(85B)
--------foo()
--------eval.py(59B)
--------literals.py(86B)
--------singletons.py(109B)
--------ruby.py(162B)
--------descriptors.py(410B)
--------imported.py(107B)
--------import.py(81B)
--------builtins.py(77B)
--------numbers.py(271B)
--------decorators.py(339B)
--------from_import.py(64B)
--------from_import_as.py(71B)
--------pass.py(59B)
--------func.py(267B)
--------classes.py(466B)
----spec()
--------examples()
--------default.mspec(92B)
--------spec_helper.rb(62B)
--------examples_spec.rb(1KB)
--------custom()
--------custom.rb(164B)
----README.md(5KB)
----lib()
--------typhon()
----Rakefile(2KB)