MakeNumbers MakeNumbers MakeNumbers MakeNumbers MakeNumbers MakeNumber

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
MakeNumbers {
' ' e.1 = <MakeNumbers e.1>;
'(' e.1 ')' = <MakeNumbers e.1>;
'+' e.1 ' ' e.2 = '+' <MakeNumbers e.1> ' ' <MakeNumbers e.2>;
'+' e.1 '(' e.2 ')' = '+' <MakeNumbers e.1> '(' <MakeNumbers e.2> ')';
'*' e.1 ' ' e.2 = '*' <MakeNumbers e.1> ' '<MakeNumbers e.2>;
'*' e.1 '(' e.2 ')' = '*' <MakeNumbers e.1> '('<MakeNumbers e.2> ')';
e.1 ' ' e.2 = <Numb e.1> ' ' <MakeNumbers e.2>;
e.1 = <Numb e.1>;
}