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.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-1.4.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyburg-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-1.4.1.tar.gz
Algorithm Hash digest
SHA256 920c8799cf7be666844762cd48e4ea55320c9d78d960fee1b9dfa1f1b2820ea3
MD5 285341e8b2c3a0ac497ead1de18cd391
BLAKE2b-256 656c6e3b788c13bb4569c834f6d38d33a2e6ca2801c53d5b754671d40bff5829

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyburg-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a1bc11016a1b2d503e6d8ebbaea71d614a9825e78c8d1806d0c5d1d65cac515
MD5 27ad840eae295ccc22d267c6b709b14c
BLAKE2b-256 b0894933683bd698252549d291977f2aad2bd2eee389592b0e28e2d55af6507e

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