expression = ExpressionProcessor::Expression.new("MAX(10, SUM(A))")
expression.constants({:A => [1,3,5]})
expression.valid?([:A]) # specify constants that are allowed
expression.eval # => 10
-
Notifications
You must be signed in to change notification settings - Fork 0
stevestmartin/expression_processor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Allows you to process simple excel like formulas. (Needs some cleanup for mass use)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published