Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 193 Bytes
require 'treetop'
require 'alchemist'
Treetop.load "measurement"
parser = MeasurementParser.new
o = parser.parse('1 cup jfsidjf')
#puts o.inspect
o = parser.parse('1/2 cup')
puts o.inspect