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: * instruction selection tool * converter from pburg (C, java) to pyburg (python) * macros for assembly generation: x86, amd64, arm32, i386, … * simple binary tree for AST building * 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

Release history Release notifications | RSS feed

This version


Download files

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

Files for pyburg, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyburg-1.0.tar.gz (17.3 kB) File type Source Python version None Upload date Hashes View
Filename, size pyburg-1.0-py3-none-any.whl (17.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page