Arithmetic evaluation/Phix: Difference between revisions

m
(Created page with "=={{header|Phix}}== {{trans|D}} just for fun (in order to decipher all that abstract class Visitor/accept/visit pointless indirection stuff, when in fact a plain and simple re...")
 
m (→‎{{header|Phix}}: fixed link)
Line 1:
=={{header|Phix}}==
{{trans|Translation of [[Arithmetic_evaluation#D}}]], just for fun (/ in order to decipher all that abstract class Visitor/accept/visit pointless indirection stuff, when in fact a plain and simple recursion is all that it needs,. plusPlus, 221 lines -> 166 lines, should you wrongly care about that, I know I shouldn't...)
<lang Phix>-- demo\rosetta\Arithmetic_evaluationD.exw
enum Num, OBkt, CBkt, Add, Sub, Mul, Div
7,805

edits