• DoctypeDeclaration{http://etl.sf.net/etl/doctype/0.2.1}:
    • systemId: "calculator-arith-0_2_1.g.etl"
  • PrintStatement{http://etl.sf.net/samples/calculator}:
    • values:
      • StringLiteral{http://etl.sf.net/samples/calculator}:
        • value: "zeroes: "
      • Minus{http://etl.sf.net/samples/calculator/arith}:
        • first:
          • Multiply{http://etl.sf.net/samples/calculator/arith}:
            • first:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 2
            • second:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 3#10#
        • second:
          • Divide{http://etl.sf.net/samples/calculator/arith}:
            • first:
              • Multiply{http://etl.sf.net/samples/calculator/arith}:
                • first:
                  • NumberLiteral{http://etl.sf.net/samples/calculator}:
                    • value: 3
                • second:
                  • Power{http://etl.sf.net/samples/calculator/arith}:
                    • first:
                      • NumberLiteral{http://etl.sf.net/samples/calculator}:
                        • value: 2
                    • second:
                      • NumberLiteral{http://etl.sf.net/samples/calculator}:
                        • value: 3
            • second:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 4
      • StringLiteral{http://etl.sf.net/samples/calculator}:
        • value: " "
      • Plus{http://etl.sf.net/samples/calculator/arith}:
        • first:
          • UnaryPlus{http://etl.sf.net/samples/calculator/arith}:
            • value:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 1
        • second:
          • UnaryMinus{http://etl.sf.net/samples/calculator/arith}:
            • value:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 1
  • PrintStatement{http://etl.sf.net/samples/calculator}:
    • values:
      • StringLiteral{http://etl.sf.net/samples/calculator}:
        • value: "dozens: "
      • Power{http://etl.sf.net/samples/calculator/arith}:
        • first:
          • NumberLiteral{http://etl.sf.net/samples/calculator}:
            • value: 12#100#
        • second:
          • Identity{http://etl.sf.net/samples/calculator}:
            • value:
              • Divide{http://etl.sf.net/samples/calculator/arith}:
                • first:
                  • NumberLiteral{http://etl.sf.net/samples/calculator}:
                    • value: 1
                • second:
                  • NumberLiteral{http://etl.sf.net/samples/calculator}:
                    • value: 2
      • StringLiteral{http://etl.sf.net/samples/calculator}:
        • value: " "
      • Multiply{http://etl.sf.net/samples/calculator/arith}:
        • first:
          • NumberLiteral{http://etl.sf.net/samples/calculator}:
            • value: 3#1_0#
        • second:
          • Power{http://etl.sf.net/samples/calculator/arith}:
            • first:
              • NumberLiteral{http://etl.sf.net/samples/calculator}:
                • value: 16#10000#
            • second:
              • UnaryPlus{http://etl.sf.net/samples/calculator/arith}:
                • value:
                  • NumberLiteral{http://etl.sf.net/samples/calculator}:
                    • value: 8#0.1#
     1: doctype "calculator-arith-0_2_1.g.etl";
     2: print "zeroes: ", 2*3#10#-3 * 2 ** 3 / 4, " ", +1 + -1; 
     3: print "dozens: ", 12#100# ** (1/2), " ", 3#1_0# * 16#10000# ** +8#0.1#;