array_dim2.tout 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. (1, LITERAL, "a")
  2. (1, SET)
  3. (1, LITERAL, "array.new")
  4. (1, OPEN_BRACKET)
  5. (1, NUMBER, 3.0)
  6. (1, COMMA)
  7. (1, NUMBER, 2.0)
  8. (1, CLOSE_BRACKET)
  9. (1, SEMICOLON)
  10. (2, FOR)
  11. (2, OPEN_BRACKET)
  12. (2, LITERAL, "x")
  13. (2, SET)
  14. (2, NUMBER, 0.0)
  15. (2, SEMICOLON)
  16. (2, LITERAL, "x")
  17. (2, LESS)
  18. (2, LITERAL, "array.length")
  19. (2, OPEN_BRACKET)
  20. (2, LITERAL, "a")
  21. (2, CLOSE_BRACKET)
  22. (2, SEMICOLON)
  23. (2, LITERAL, "x")
  24. (2, INC)
  25. (2, CLOSE_BRACKET)
  26. (3, OPEN_CURVED_BRACKET)
  27. (4, FOR)
  28. (4, OPEN_BRACKET)
  29. (4, LITERAL, "y")
  30. (4, SET)
  31. (4, NUMBER, 0.0)
  32. (4, SEMICOLON)
  33. (4, LITERAL, "y")
  34. (4, LESS)
  35. (4, LITERAL, "array.length")
  36. (4, OPEN_BRACKET)
  37. (4, LITERAL, "a")
  38. (4, OPEN_SQUARE_BRACKET)
  39. (4, LITERAL, "x")
  40. (4, CLOSE_SQUARE_BRACKET)
  41. (4, CLOSE_BRACKET)
  42. (4, SEMICOLON)
  43. (4, LITERAL, "y")
  44. (4, INC)
  45. (4, CLOSE_BRACKET)
  46. (5, OPEN_CURVED_BRACKET)
  47. (6, LITERAL, "a")
  48. (6, OPEN_SQUARE_BRACKET)
  49. (6, LITERAL, "x")
  50. (6, COMMA)
  51. (6, LITERAL, "y")
  52. (6, CLOSE_SQUARE_BRACKET)
  53. (6, SET)
  54. (6, LITERAL, "x")
  55. (6, MUL)
  56. (6, NUMBER, 2.0)
  57. (6, ADD)
  58. (6, LITERAL, "y")
  59. (6, SEMICOLON)
  60. (7, CLOSE_CURVED_BRACKET)
  61. (8, CLOSE_CURVED_BRACKET)
  62. (9, FOR)
  63. (9, OPEN_BRACKET)
  64. (9, LITERAL, "x")
  65. (9, SET)
  66. (9, NUMBER, 0.0)
  67. (9, SEMICOLON)
  68. (9, LITERAL, "x")
  69. (9, LESS)
  70. (9, LITERAL, "array.length")
  71. (9, OPEN_BRACKET)
  72. (9, LITERAL, "a")
  73. (9, CLOSE_BRACKET)
  74. (9, SEMICOLON)
  75. (9, LITERAL, "x")
  76. (9, INC)
  77. (9, CLOSE_BRACKET)
  78. (10, OPEN_CURVED_BRACKET)
  79. (11, FOR)
  80. (11, OPEN_BRACKET)
  81. (11, LITERAL, "y")
  82. (11, SET)
  83. (11, NUMBER, 0.0)
  84. (11, SEMICOLON)
  85. (11, LITERAL, "y")
  86. (11, LESS)
  87. (11, LITERAL, "array.length")
  88. (11, OPEN_BRACKET)
  89. (11, LITERAL, "a")
  90. (11, OPEN_SQUARE_BRACKET)
  91. (11, LITERAL, "x")
  92. (11, CLOSE_SQUARE_BRACKET)
  93. (11, CLOSE_BRACKET)
  94. (11, SEMICOLON)
  95. (11, LITERAL, "y")
  96. (11, INC)
  97. (11, CLOSE_BRACKET)
  98. (12, OPEN_CURVED_BRACKET)
  99. (13, LITERAL, "print")
  100. (13, OPEN_BRACKET)
  101. (13, LITERAL, "a")
  102. (13, OPEN_SQUARE_BRACKET)
  103. (13, LITERAL, "x")
  104. (13, COMMA)
  105. (13, LITERAL, "y")
  106. (13, CLOSE_SQUARE_BRACKET)
  107. (13, CLOSE_BRACKET)
  108. (13, SEMICOLON)
  109. (14, CLOSE_CURVED_BRACKET)
  110. (15, CLOSE_CURVED_BRACKET)
  111. (16, EOF)