Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tadeuzagallo/haskell-math-parser
- Owner: tadeuzagallo
- Created: 2015-12-13T00:58:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-13T01:10:56.000Z (almost 9 years ago)
- Last Synced: 2024-02-17T10:36:05.383Z (9 months ago)
- Language: Haskell
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 > EvaluationBoth implementations can be executed by simply running the `main.hs`:
```
$ cd simple # or complete
$ runghc main.hs ''
```