linkrope / gamma

Extended Affix Grammar Compiler Generator
Boost Software License 1.0
4 stars 1 forks source link
code-generation compiler dlang educational parser
gamma

Extended Affix Grammar Compiler Generator

D License Dub Version

gamma is a compiler generator for the Extended Affix Grammar formalism.

See the Wiki for detailed introductions, tutorials, information on Extended Affix Grammars and compiler generators, and more.

Usage

Open in Gitpod

Run gamma to generate a compiler for some of the available examples. For example:

./gamma example/abc.eag

Then, run the generated compiler. For example:

./S test/abc

Alternatively, use dub to run, build, or test the compiler generator. For example:

dub run -- example/abc.eag