Update utils/block_relation_builder.py
Browse files- utils/block_relation_builder.py +13 -13
utils/block_relation_builder.py
CHANGED
|
@@ -3381,16 +3381,16 @@ when I receive [Game Start v]
|
|
| 3381 |
end
|
| 3382 |
end
|
| 3383 |
"""
|
| 3384 |
-
print(pseudo_code)
|
| 3385 |
-
opcode_counts_result = analyze_opcode_counts(pseudo_code)
|
| 3386 |
-
generated_output_json, initial_opcode_occurrences = generate_blocks_from_opcodes(opcode_counts_result, all_block_definitions)
|
| 3387 |
-
all_generated_blocks = generate_plan(generated_output_json, initial_opcode_occurrences, pseudo_code)
|
| 3388 |
-
processed_blocks= process_scratch_blocks(all_generated_blocks, generated_output_json)
|
| 3389 |
-
renamed_blocks, renamed_counts = rename_blocks(processed_blocks, initial_opcode_occurrences)
|
| 3390 |
-
print(opcode_counts_result)
|
| 3391 |
-
print("--------------\n\n")
|
| 3392 |
-
print(processed_blocks)
|
| 3393 |
-
print("--------------\n\n")
|
| 3394 |
-
print(initial_opcode_occurrences)
|
| 3395 |
-
print("--------------\n\n")
|
| 3396 |
-
print(renamed_blocks)
|
|
|
|
| 3381 |
end
|
| 3382 |
end
|
| 3383 |
"""
|
| 3384 |
+
# print(pseudo_code)
|
| 3385 |
+
# opcode_counts_result = analyze_opcode_counts(pseudo_code)
|
| 3386 |
+
# generated_output_json, initial_opcode_occurrences = generate_blocks_from_opcodes(opcode_counts_result, all_block_definitions)
|
| 3387 |
+
# all_generated_blocks = generate_plan(generated_output_json, initial_opcode_occurrences, pseudo_code)
|
| 3388 |
+
# processed_blocks= process_scratch_blocks(all_generated_blocks, generated_output_json)
|
| 3389 |
+
# renamed_blocks, renamed_counts = rename_blocks(processed_blocks, initial_opcode_occurrences)
|
| 3390 |
+
# print(opcode_counts_result)
|
| 3391 |
+
# print("--------------\n\n")
|
| 3392 |
+
# print(processed_blocks)
|
| 3393 |
+
# print("--------------\n\n")
|
| 3394 |
+
# print(initial_opcode_occurrences)
|
| 3395 |
+
# print("--------------\n\n")
|
| 3396 |
+
# print(renamed_blocks)
|