Giter Site home page Giter Site logo

warpengineer / elm-calculator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pheintzelman/elm-calculator

0.0 1.0 0.0 295 KB

A calculator written in elm

Home Page: https://pheintzelman.github.io/elm-calculator/

Elm 56.38% HTML 3.66% JavaScript 31.08% CSS 8.88%

elm-calculator's Introduction

Elm Calculator Demo

elm-calculator

A calculator written in elm. Feel free to use this as a jumping off point for your own elm experiments.

I created this project to give elm a try. I am currently working on a blog post of the experience. Will add link soon.

See demo here

Install:

Clone this repo into a new project folder, e.g. elm-calculator, and install its dependencies:

git clone https://github.com/pheintzelman/elm-calculator.git elm-calculator
cd elm-calculator
npm install

Re-initialize the project folder as your own repo:

rm -rf .git
git init
git add .
git commit -m 'first commit'

If you haven't done so yet, install Elm globally:

npm install -g elm

Install Elm's dependencies:

elm package install

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/elm/Main.elm
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To view it, open dist/index.html

Thanks

I want to thank the people who made this great starter project and various bloggers from around the web.

Changelog

Ver 0.2.1

  • Added operation chaining
  • Fixed bug with pressing operation at start
  • Fixed bug with pressing equal at start
  • Add V1 underdocs which excludes these fixes

Ver 0.1.1

  • Added demo

Ver 0.1.0

elm-calculator's People

Contributors

pheintzelman avatar

Watchers

 avatar

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.