toyc
A toy compiler with Vulkan and OpenGL GPU backends, written in Python.
Install
pip install toyc
What's inside
- Lexer / Parser / AST — tokenizes and parses a simple toy language
- Evaluator — tree-walk interpreter
- VM — bytecode virtual machine
- GPU backends — Vulkan and OpenGL compute backends via
toyc.gpu
Usage
from toyc import compiler
# example usage here once you have a public API
License
See LICENSE.
Metadata
Release files for toyc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toyc-0.1.1.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toyc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.4 kB
Release files / toyc-0.1.1.tar.gz
| Download URL | toyc-0.1.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77665474cc3c664b6d0c8264d1eb752c021a17b10fe9a072f998bbae71d2e7e1
|
|
BLAKE2b-256 checksum How to use checksums |
6f3fbca4093cd3a1160bf44856ee0822386ac9f5f541d3173761b4d86b838013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / toyc-0.1.1-py3-none-any.whl
| Download URL | toyc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3c45757c3311cd0ba996e18b146a693bec260c7b6c877a476916f4d66d6a849
|
|
BLAKE2b-256 checksum How to use checksums |
637c2913d3c75bedc496f3b4aa27188f6a10ceb51f918ab9ec97332574c4412f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|