Parsing 12' 6" and 2.4 m: measurement input that doesn't annoy people
DEV Community
Parsing 12' 6" and 2.4 m: measurement input that doesn't annoy people
A small recursive-descent parser that reads feet and inches, fractions, metric, decimal commas and simple sums, and tracks whether the result is a length, an area or a volume.
0 comments
No comments yet.