/pyBQN

A BQN implementation in python

Primary LanguagePython

PyBQN: a BQN implementation in python

A(n incomplete) BQN VM implementation in python.

$ python3 -m pybqn
bqn> <⟜'a'⊸/ "Big Questions Notation"
"B Q N"

This is a toy interpreter to better understand the language and VM. If you're looking for more performant BQN from python consider the BQN↔NumPy bridge or writing your own interface to CBQN.

Status

ci

License

The python code is licensed as MIT.

Some unittests used to validate the VM/runtime before it could host the compiler contain pre-compiled snippets from the https://github.com/mlochbaum/BQN repo, see the respective license there.