An open API service indexing awesome lists of open source software.

https://github.com/buckley-w-david/bytecode

Write python functions directly with bytecode
https://github.com/buckley-w-david/bytecode

bytecode python

Last synced: 7 months ago
JSON representation

Write python functions directly with bytecode

Awesome Lists containing this project

README

          

# bytecode

Write python functions directly with bytecode

```python
>>> import bytecode
>>> @bytecode.bytecode()
... def sum(a, b):
... LOAD_FAST, 0
... LOAD_FAST, 1
... BINARY_ADD
... RETURN_VALUE

>>> sum(5, 6)
11
```