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-1.4.2.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

pyburg-1.4.2-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file pyburg-1.4.2.tar.gz.

File metadata

  • Download URL: pyburg-1.4.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pyburg-1.4.2.tar.gz
Algorithm Hash digest
SHA256 64019d90a8d218455047155ea2e284a5abe0be9e51251ad1eca77df11b173f35
MD5 925383e839e90b8a4fbce3ed96a769c9
BLAKE2b-256 ffee8a855df459e13f47ca6e4e386b46fb5621c12aa898c46b59ba05ccdf801a

See more details on using hashes here.

File details

Details for the file pyburg-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: pyburg-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pyburg-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89d8c47acbc6d6b0e25da06a531ac69426567433e2ee0e19b0222b0035d0dabe
MD5 2daf2eedcf43e0fa29877623065a444a
BLAKE2b-256 29807fd993e02a711b5009f3f78c470f67d948960bc75fbd35f482943e010eb4

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