Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tadeuzagallo/haskell-math-parser

Simple parser that I've been using to study Haskell
https://github.com/tadeuzagallo/haskell-math-parser

Last synced: 3 months ago
JSON representation

Simple parser that I've been using to study Haskell

Awesome Lists containing this project

README

        

# Math Expression Parser

Small parser that I've been working on to learn Haskell

So far there are two implementations:
* *Simple*: One file that executes the operations as it parses the input
* *"Complete"*: This implementation is broken in multiple steps: Input > Token string > AST > IR > Evaluation

Both implementations can be executed by simply running the `main.hs`:

```
$ cd simple # or complete
$ runghc main.hs ''
```