A self-contained Cyber intepreter
Project description
cyber-python
Installation
pip install cyberlang
Usage
from cyber import CyberVM
vm = CyberVM()
vm.eval("print 'hello world!'")
from cyber import CyberVM
vm = CyberVM()
# override cyber's print function with a python callback
@vm.function('core.print')
def _print(string: str):
print(string)
vm.eval("print 'hello world!'")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cyberlang-0.5.0.tar.gz
(3.7 MB
view hashes)
Built Distribution
Close
Hashes for cyberlang-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71fb75886c2f597ecb4c33ebd2d02e2f2d2e3e67cf58313ee7050d7cb9263f07 |
|
MD5 | 7d4df27d7264ed7c887c57e4724cc5a2 |
|
BLAKE2b-256 | 8ccb1225fcf7ca7403cd6f6a4ca28fd26522335ded3097658c23ce95eb24416d |