Arithmetic evaluation: Difference between revisions

clarification
m (→‎{{header|Prolog}}: removed silly cut I left in by mistake)
(clarification)
Line 1:
{{task}}
A program which parsers and evaluates an arithmetic expressionexpressions. Requirements: an AST for the expression must be created from parsing, andthe thatinput, isthe whatAST must be used in evaluation also, so no calling eval or similar if the language has such a thing.
The expression will be a string of list of symbols like "(1+3)*7".
+ - * / as binary operators must be supported including precedence levels, as well as paranthesis.
24

edits