https://github.com/craigstroman/calculator
A JavaScript calculator written using the shunting-yard algorithm.
https://github.com/craigstroman/calculator
css3 es6-javascript html5 javascript-classes scss webpack
Last synced: 23 days ago
JSON representation
A JavaScript calculator written using the shunting-yard algorithm.
- Host: GitHub
- URL: https://github.com/craigstroman/calculator
- Owner: craigstroman
- Created: 2016-03-15T20:36:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-28T18:14:46.000Z (11 months ago)
- Last Synced: 2025-04-28T19:27:26.323Z (11 months ago)
- Topics: css3, es6-javascript, html5, javascript-classes, scss, webpack
- Language: JavaScript
- Homepage: https://calculator.craigstroman.com/
- Size: 571 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calculator
- A JavaScript calculator written using the shunting-yard algorithm to solve expressions.
Also not using any JavaScript libraries such as jQuery. Example located at https://calculator.craigstroman.com/.
#### Running locally
- Clone the repo: git clone https://github.com/craigstroman/calculator.git
- cd calculator
- Install with npm: npm install
- Start the server using gulp
## Version History
###### Version 2.0.1
- Fixing percent calculation
###### Version 2.0.0
- Switched to Webpack
- Switched to using ES6 classes
- Added log function and removed lnv function
- Added square function
- Added tanh function
- Fixed percent function
###### Version 1.2.1
- Switched to Gulp for task automation.
- Automated the startup process.
###### Version 1.0.1
- Fixed an issue with parentheses.
- Fixed an issue with decimals when no number is pressed before the decimal.