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.1.tar.gz
(3.7 MB
view hashes)
Built Distribution
Close
Hashes for cyberlang-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9becd203655c55c0bdd4173dca66a49d6c8e14a5cc775fa43f159b34f82c14c1 |
|
MD5 | aee68e0ec7cf58a430c3d8fd490cd2f2 |
|
BLAKE2b-256 | 44f649ab437974dc2c864216db89c4b0f992f51dc3fb0024c16bb88f9d0b5e7c |