https://github.com/squiidz/yarderize
Ruby native shunting yard
https://github.com/squiidz/yarderize
gem helix native ruby rust shunting-yard
Last synced: about 2 months ago
JSON representation
Ruby native shunting yard
- Host: GitHub
- URL: https://github.com/squiidz/yarderize
- Owner: squiidz
- Created: 2017-05-01T16:45:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T16:57:02.000Z (about 9 years ago)
- Last Synced: 2025-06-28T03:52:03.346Z (about 1 year ago)
- Topics: gem, helix, native, ruby, rust, shunting-yard
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yarderize
Ruby native shunting yard
Add a method eval to ruby string. If the evaluation is invalid it return 0.
``` ruby
require 'yarderize'
v = 8
"5 + 4 - 1 + #{v}".eval
```