-
Notifications
You must be signed in to change notification settings - Fork 2
Math parser based on Lukasz Wrobel's blog post
License
nricciar/expression_parser
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Taken from http://lukaszwrobel.pl/blog/math-parser-part-3-implementation require 'rubygems' require 'expression_parser' parser = ExpressionParser::Parser.new loop do begin print '>> ' puts parser.parse(gets) rescue RuntimeError puts 'Error occured: ' + $! end end
About
Math parser based on Lukasz Wrobel's blog post
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published