Skip to content

fubark/cyber-python

 
 

Repository files navigation

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!'")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.7%
  • Makefile 13.1%
  • Jupyter Notebook 5.2%