Commits

Steven! Ragnarök  committed 80bdcf7

Uploads the output file for A1.

  • Participants
  • Parent commits f59edd9

Comments (0)

Files changed (1)

+(in /home/steven/Code/java/JTopDowner)
+program
+  return
+    0
+
+program
+  return
+    +
+      13
+      -12
+
+program
+  set
+    X
+    3
+  return
+    2
+
+program
+  set
+    X
+    3
+  return
+    X
+
+program
+  set
+    X
+    3
+  set
+    Y
+    4
+  set
+    Z
+    10
+  return
+    +
+      X
+      *
+        Y
+        Z
+
+program
+  define
+    Minus
+      W
+    program
+      return
+        -
+          W
+  return
+    Minus
+      4
+
+program
+  define
+    F2
+      X1
+      X2
+    program
+      return
+        -
+          X1
+          X2
+  return
+    F2
+      10
+      6
+
+program
+  define
+    G
+      X
+    program
+      return
+        3
+  return
+    +
+      G
+        5
+      2
+
+program
+  set
+    X2
+    2
+  define
+    G
+      Y
+    program
+      return
+        +
+          Y
+          4
+  return
+    +
+      X2
+      G
+        X2
+
+program
+  define
+    Inc
+      U
+    program
+      return
+        +
+          U
+          1
+  return
+    Inc
+      Inc
+        Inc
+          6
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    G
+      X
+    program
+      return
+        5
+  return
+    +
+      G
+        0
+      F
+        3
+        4
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    F
+      XX
+    program
+      return
+        XX
+  return
+    F
+      3
+      4
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    F
+      XX
+    program
+      return
+        XX
+  return
+    F
+      3
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    G
+      X
+    program
+      return
+        +
+          X
+          5
+  return
+    F
+      3
+      G
+        4
+
+program
+  define
+    F
+      U
+    program
+      define
+        F
+          V
+        program
+          return
+            +
+              U
+              V
+      return
+        F
+          +
+            U
+            1
+  return
+    F
+      4
+
+program
+  set
+    X
+    5
+  define
+    F
+      U
+      V
+    program
+      set
+        W
+        10
+      return
+        +
+          U
+          -
+            V
+            W
+  return
+    F
+      3
+      X
+
+program
+  set
+    X
+    5
+  set
+    W
+    10
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          -
+            V
+            W
+  return
+    F
+      3
+      X
+
+
+[SYNTAX ERROR] String is empty
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: -1 of Type: INT_LIT
+[SYNTAX ERROR] + does not begin a valid Expression
+[SYNTAX ERROR] + does not begin a valid Expression
+[SYNTAX ERROR] * does not begin a valid Expression
+[SYNTAX ERROR] ) does not begin a valid Expression
+[SYNTAX ERROR] Invalid token: max is of an unknown type
+[SYNTAX ERROR] Invalid token: pi is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: RPAREN Got: $ of Type: EOF
+[SYNTAX ERROR] Invalid token: ] is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: RPAREN Got: $ of Type: EOF
+[SYNTAX ERROR] Invalid token: let is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: Y of Type: IDENT
+[SYNTAX ERROR] Invalid token: output is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: 4 of Type: INT_LIT
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: 4 of Type: INT_LIT
+[SYNTAX ERROR] return does not begin a valid Expression
+[SYNTAX ERROR] + does not begin a valid Expression
+[SYNTAX ERROR] Expected Token of Type: LPAREN Got: 3 of Type: INT_LIT
+[SYNTAX ERROR] Expected Token of Type: LPAREN Got: return of Type: RETURN
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: Z of Type: IDENT
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: X of Type: IDENT
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: $ of Type: EOF
+[SYNTAX ERROR] Invalid token: pi is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: ( of Type: LPAREN
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: ) of Type: RPAREN
+[SYNTAX ERROR] Invalid token: f is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: ( of Type: LPAREN
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: + of Type: MATH_OP
+[SYNTAX ERROR] Invalid token: x is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: RPAREN Got: 6 of Type: INT_LIT
+[SYNTAX ERROR] Expected Token of Type: RPAREN Got: return of Type: RETURN
+[SYNTAX ERROR] Invalid token: ] is of an unknown type
+[SYNTAX ERROR] Expected Token of Type: LPAREN Got: X of Type: IDENT
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: F of Type: IDENT
+[SYNTAX ERROR] Expected Token of Type: RETURN Got: $ of Type: EOF
+[SYNTAX ERROR] - does not begin a valid Expression
+[SYNTAX ERROR] ) does not begin a valid Expression
+[SYNTAX ERROR] * does not begin a valid Expression
+[SYNTAX ERROR] + does not begin a valid Expression
+[SYNTAX ERROR] Expected Token of Type: IDENT Got: ( of Type: LPAREN
+[SYNTAX ERROR] Expected Token of Type: EOF Got: ) of Type: RPAREN
+[SYNTAX ERROR] Expected Token of Type: EOF Got: return of Type: RETURN
+
+program
+  return
+    *
+      3
+      4
+      5
+
+program
+  set
+    X
+    1
+  set
+    X
+    2
+  return
+    *
+      X
+      X
+
+program
+  define
+    F
+      X
+      Y
+      X
+    program
+      return
+        +
+          X
+          *
+            Y
+            X
+  return
+    F
+      3
+      4
+      5
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    F
+      X
+      Y
+    program
+      return
+        *
+          X
+          Y
+  return
+    F
+      3
+      4
+
+program
+  define
+    Plus
+      V
+    program
+      return
+        +
+          V
+  return
+    Plus
+      3
+      4
+
+program
+  define
+    Diff
+      V1
+      V2
+    program
+      return
+        -
+          V1
+          V2
+  return
+    Diff
+      3
+      4
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        U
+          V
+  return
+    F
+      3
+      4
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        -
+          +
+            U
+            V
+  return
+    F
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  return
+    F
+      3
+      4
+      5
+
+program
+  return
+    F
+
+program
+  return
+    F
+      2
+      3
+      5
+
+program
+  return
+    +
+      X
+      Y
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  return
+    F
+      3
+      G
+
+program
+  define
+    F
+      X
+      Y
+    program
+      return
+        *
+          X
+          Y
+  return
+    G
+      3
+      4
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        *
+          U
+          +
+            V
+            W
+  return
+    F
+      3
+      4
+
+program
+  define
+    F
+      U
+      V
+    program
+      set
+        X
+        5
+      set
+        W
+        10
+      return
+        +
+          U
+          -
+            V
+            W
+  return
+    F
+      3
+      X
+
+program
+  set
+    X
+    5
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          *
+            V
+            X
+  set
+    X
+    10
+  return
+    F
+      3
+      X
+
+program
+  define
+    F
+      U
+      V
+    program
+      return
+        +
+          U
+          V
+  define
+    G
+      X
+    program
+      return
+        5
+  define
+    F
+      X1
+      X2
+    program
+      return
+        X1
+  return
+    +
+      G
+        0
+      F
+        3
+        4
+
+program
+  define
+    F
+      U
+      W
+    program
+      define
+        G
+          W
+        program
+          return
+            H
+              W
+      define
+        H
+          VV
+        program
+          return
+            +
+              VV
+              W
+      return
+        +
+          G
+            U
+          H
+            W
+  return
+    F
+      1
+      30
+
+
+program
+  define
+    F
+      U
+      W
+    program
+      define
+        H
+          VV
+        program
+          return
+            +
+              VV
+              W
+      define
+        G
+          W
+        program
+          return
+            H
+              W
+      return
+        +
+          G
+            U
+          H
+            W
+  return
+    F
+      1
+      30
+
+program
+  define
+    F
+      U
+    program
+      define
+        K
+          X1
+        program
+          return
+            +
+              20
+              X1
+      define
+        H
+          VV
+        program
+          return
+            K
+              VV
+      define
+        G
+          W
+        program
+          define
+            K
+              WW
+            program
+              return
+                +
+                  WW
+                  10
+          return
+            H
+              +
+                W
+                1
+      return
+        G
+          +
+            U
+            2
+  return
+    F
+      1
+