| Crates.io | python-instruction-dsl-proc |
| lib.rs | python-instruction-dsl-proc |
| version | 0.1.6 |
| created_at | 2025-11-28 12:19:03.965804+00 |
| updated_at | 2025-12-12 00:25:09.368896+00 |
| description | A procedural macro for defining Python instructions in a DSL. |
| homepage | |
| repository | https://github.com/Svenskithesource/python-instruction-dsl-proc |
| max_upload_size | |
| id | 1955220 |
| size | 13,263 |
This repository is for a Rust proc macro that allows you to define Python opcodes with their stack effects using the Domain Specific Language (DSL) syntax. The syntax is described here.
It only supports a subset of the full syntax. This is meant to be used by the pyc-editor library to define Python opcodes in a concise manner.
For the purpose of the pyc-editor library, you may also use ( / ) to indicate this opcode is not supported. (used for specified opcodes)