platinum-parsing: General Framework for compiler development.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



Platinum Parsing provides many tools for the development of compiler (including transpiler or interpreter), based on the well-known Dragon Book (2nd edition). This package is in progress, please take a look at the github repository for more details.

[Skip to ReadMe]


Change logNone available
Dependenciesbase (>=4.7 && <5), binary (==0.8.*), clock (==0.7.*), containers (==0.5.*), data-hash (==0.2.*), directory (==1.3.*), fgl (==5.5.*), HStringTemplate (==0.8.*), mtl (==2.2.*), optparse-applicative (==0.13.*), parsec (==3.1.*), platinum-parsing, text (==1.2.*), vector (==0.11.*), yaml (==0.8.*) [details]
Copyright2017, Patrick Champion
Categorycompiler, compilation, parser, lexer, lalr, framework, cli
Home page
Source repositoryhead: git clone
UploadedWed Jul 19 11:36:31 UTC 2017 by chlablak




Maintainers' corner

For package maintainers and hackage trustees

Readme for platinum-parsing-

[back to package description]


Platinum Parsing is an all-around solution for conceiving, developping and building a compiler or an interpreter, or just a part of it. It's composed of two parts: the Framework, written in Haskell, and the CLI (Command Line Interface), exposing the functionalities of the Framework.


* Platinum Parsing is a recent project aimed to grow, you can find development axis in the Issues menu.

Getting started

Platinum Parsing is built with the famous Haskell Tool Stack, you will need to install it before continuing.

NB: if you prefer to use cabal instead of stack, feel free to do so.

Platinum Parsing is available on Hackage, thus you can install it with the command:

$ stack install platinum-parsing

This will cause the CLI to be accessible in your terminal, try: $ pp --help

If you want to use the Framework directly in your Haskell project, add to your <project-name>.cabal file the following line, and run a $ stack build afterwards:

build-depends: platinum-parsing

Last option is to clone this repository and build the project by yourself:

$ git clone
$ git clone

$ cd platinum-parsing
$ stack init
$ stack build

Further reading


If you have any question, proposition or contribution, feel free to use the Issues menu.