@hackage hburg1.0

Haskell Bottom Up Rewrite Generator

HBURG has been designed to produce a code generator for a target machine given a specification of an abstract syntax tree of a program, as well as a specification of the target machine itself. Its goals are the following:

  • Provide a powerful tree pattern matching specification language with simplicity and easy readability in mind.

  • Perform good static analysis aiding during the design of grammar specifications.

  • Provide back-ends which generate code for various languages from a specification, ready to be plugged into a back-end compiler infrastructure. Currently Java Code is being generated.

See Homepage for an example on how to integrate the generated code into a compiler.