Skip to main content

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

  1. prs, IST 2020

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyburg-pkg-peresan-1.4.1.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyburg_pkg_peresan-1.4.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file pyburg-pkg-peresan-1.4.1.tar.gz.

File metadata

  • Download URL: pyburg-pkg-peresan-1.4.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0

File hashes

Hashes for pyburg-pkg-peresan-1.4.1.tar.gz
Algorithm Hash digest
SHA256 47a8592c0eb30aad6bcb4c3c5e923753ee94f610051ea53cd2e14b1e824e4722
MD5 7c04625f512fafb0269b33db492c6ab3
BLAKE2b-256 4c69c79af280a1cb37802cd59a6c6e8be2580dd8b1c07ac9ddd6872eeaf26452

See more details on using hashes here.

File details

Details for the file pyburg_pkg_peresan-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyburg_pkg_peresan-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73afa07b46b971079ca3cabb16265f106c777d727a2e72e19fd9c36e734ce498
MD5 bf46a0ca1a388e7f49e26b6c2e11a179
BLAKE2b-256 e4c89c0068db8115bde1ad2935c300220c5c35c9f09bd73dac7f0dd2afe11638

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page