exp_parser
Version, currently master branch1 version
- master branchlatestJul 12, 2021
github.com/TheEEs/repl.cr
A project that demonstrates how to create a tree-walker interpreter
3 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
exp_parser:
github: TheEEs/repl.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- TheEEs
Dependencies
This version declares no dependencies.
README
exp_parser
This is a project that demonstrates how to create a tree-walker interpreter. It now can only evaluate simple expressions including add, subtract, division, exponent and unary.
Installation
- Clones this repository:
$ git clone https://github.com/TheEEs/expression_repl.git
- Navigates into the cloned directory then run:
crystal run -Drepl ./src/repl.cr
Usage
- Evalutes single expression.
1 * (6 + 10 / 2)
- Evalutes multiple expression.
1 * (6 + 10 / 2); 8 ** 3
- Types
exitto terminate the program
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jul 12, 2021
- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/TheEEs/repl.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1