Giter VIP home page Giter VIP logo

platinum-parsing's Introduction

platinum-parsing

www.platinum-parsing.org

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.

Features

  • Purely functional, written in Haskell
  • Generic approach to compilation
  • Full EBNF grammar support
  • Tokens definition with built-in RegEx
  • Grammar validation on source file
  • Dynamic AST generation
  • LALR table and DFA generation
  • Built-in lexer and parser
  • Customisable template export
  • CLI and Atom integration
  • And more ... *

* 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 [email protected]:chlablak/platinum-parsing.git
or
$ git clone https://github.com/chlablak/platinum-parsing.git

$ cd platinum-parsing
$ stack init
$ stack build

Further reading

  • Platinum Parsing has an Atom integration (plugin) for ease of development, available here.
  • The library documentation is available on the Hackage package.
  • More documentation (examples, references, ...) can be found in the doc/ folder.

Contributing

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

platinum-parsing's People

Stargazers

 avatar

Watchers

 avatar  avatar

platinum-parsing's Issues

TODO: General Discussion

PP aim to provide a wide variety of tools for compiler development, but a lot needs to be done.

This issue is a general discussion in this way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.