https://github.com/danpersa/calculator
https://github.com/danpersa/calculator
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danpersa/calculator
- Owner: danpersa
- Created: 2014-08-10T12:18:04.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-10T12:22:10.000Z (almost 12 years ago)
- Last Synced: 2025-01-22T04:31:22.669Z (over 1 year ago)
- Language: Ruby
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calculator
This is a calculator application written in order to demonstrate
how to use rex together with racc
## Usage
Install the dependencies
bundle install
Generate the lexer and the parser:
rake
Use:
calc '2 + 2 * 2'
## Development
Run the specs
rspec spec