A BURG (Bottom-Up Rewrite Grammar) instruction selection compiler generator
Project description
A BURG (Bottom-Up Rewrite Grammar) instruction selection generator compiler
The pyburg/ package includes: * pyburg.py: instruction selection tool * brg2py.py: converter from pburg (C, java) to pyburg (python) * postfix.py: macros for assembly generation: x86, amd64, arm32, i386, … * Tree.py: simple binary tree for AST building * strbuf.py: class to collect output into a string
Documentation in the docs/ directory: * pyburg.html: instruction selection with pyburg * tutorial.html: a complete example * internals.html: pyburg routine description * postfix.html: assembly macros description
Code generation examples: * exs: some demonstration examples * add: a trivial language implementation * simple: a simple language implementation * bpl: B programming language implementation * run: x64 runtime for the above examples
prs, IST 2020
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyburg-1.0.tar.gz
.
File metadata
- Download URL: pyburg-1.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da71bad01795e68d4879cbbef0035455f269e20549a09a94b6641cf292575424 |
|
MD5 | 73a6b845d8cfddb0f02ed229e6f8b698 |
|
BLAKE2b-256 | f1dfedcef5782c355188c0df5e8eb4fa024d8f7325d8c481bb0285d3181ee1db |
File details
Details for the file pyburg-1.0-py3-none-any.whl
.
File metadata
- Download URL: pyburg-1.0-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6a429112778701d46a05e12dcb00eccf287a2321ffc50f9e9e50b6250108ed |
|
MD5 | 718b1626ef0f6991edbe7ee11aa89b98 |
|
BLAKE2b-256 | b9ae8c71d3392a49a726e25c7c2f6f0aef187afd6cfdb2eb9dabff0b9a6ae7dc |