mirror of
https://github.com/Smaug123/fsharp-prefix-form
synced 2025-10-05 07:48:42 +00:00
342 B
342 B
fsharp-prefix-form
Parse and evaluate expressions in prefix-form (basically Polish notation).
Motivation
I made this as an example solution to a problem a new programmer had to solve: given an arithmetic expression in prefix form, evaluate that expression.
Prefix form
See Tests/TestExpression.fs
for fully explanatory examples.