Skip to content

A toy parser combinator library used to build a very simple calculator. Was built to learn Elm and understand parser combinators.

Notifications You must be signed in to change notification settings

akobler/elm-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

elm-calculator is a toy project to explore the exciting world of monadic parser combinators.

Installation

# install elm
npm install elm -g

# get and run this code
git clone https://github.com/akobler/elm-calculator.git
cd elm-calculator
elm-package install
elm-reactor
# now point your browser to: https://localhost:8000 and open src/Main.elm

# run unit tests (no coverage, only to demonstrate unit testing)
cd tests && elm-package install && cd ..
elm-test

Disclaimer

This is a toy project. Consider elm-combine for more serious business.

Ressources

The main sources of inspiration, ideas, examples and a lot of fun:

Many thanks!

License

Use, learn and build awesome stuff. (MIT)

About

A toy parser combinator library used to build a very simple calculator. Was built to learn Elm and understand parser combinators.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages