An open API service indexing awesome lists of open source software.

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

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

```