From 46c4585d7c38d372507ff8a88b77e2cd4f6bd122 Mon Sep 17 00:00:00 2001 From: Praise Tompane Date: Tue, 4 Mar 2025 16:28:15 +0200 Subject: [PATCH] refactor: organize execution model according to the language reference --- 4_execution_model/{ => 1_structure_of_a_program}/0_def.txt | 0 4_execution_model/{ => 1_structure_of_a_program}/1_code_block.py | 0 .../{ => 1_structure_of_a_program}/1_code_block.txt | 0 .../{ => 1_structure_of_a_program}/2_execution_frame.py | 0 .../{ => 1_structure_of_a_program}/2_execution_frame.txt | 0 .../1_names_and_name_binding_name_locality.py} | 0 .../1_names_and_name_binding_name_locality.txt} | 0 4_execution_model/imports.py | 1 - .../6_functions.py => 8_compound_statements/7_functions.py | 0 9 files changed, 1 deletion(-) rename 4_execution_model/{ => 1_structure_of_a_program}/0_def.txt (100%) rename 4_execution_model/{ => 1_structure_of_a_program}/1_code_block.py (100%) rename 4_execution_model/{ => 1_structure_of_a_program}/1_code_block.txt (100%) rename 4_execution_model/{ => 1_structure_of_a_program}/2_execution_frame.py (100%) rename 4_execution_model/{ => 1_structure_of_a_program}/2_execution_frame.txt (100%) rename 4_execution_model/{3_names_and_name_binding_name_locality.py => 2_naming_and_binding/1_names_and_name_binding_name_locality.py} (100%) rename 4_execution_model/{3_names_and_name_binding_name_locality.txt => 2_naming_and_binding/1_names_and_name_binding_name_locality.txt} (100%) delete mode 100644 4_execution_model/imports.py rename 4_execution_model/6_functions.py => 8_compound_statements/7_functions.py (100%) diff --git a/4_execution_model/0_def.txt b/4_execution_model/1_structure_of_a_program/0_def.txt similarity index 100% rename from 4_execution_model/0_def.txt rename to 4_execution_model/1_structure_of_a_program/0_def.txt diff --git a/4_execution_model/1_code_block.py b/4_execution_model/1_structure_of_a_program/1_code_block.py similarity index 100% rename from 4_execution_model/1_code_block.py rename to 4_execution_model/1_structure_of_a_program/1_code_block.py diff --git a/4_execution_model/1_code_block.txt b/4_execution_model/1_structure_of_a_program/1_code_block.txt similarity index 100% rename from 4_execution_model/1_code_block.txt rename to 4_execution_model/1_structure_of_a_program/1_code_block.txt diff --git a/4_execution_model/2_execution_frame.py b/4_execution_model/1_structure_of_a_program/2_execution_frame.py similarity index 100% rename from 4_execution_model/2_execution_frame.py rename to 4_execution_model/1_structure_of_a_program/2_execution_frame.py diff --git a/4_execution_model/2_execution_frame.txt b/4_execution_model/1_structure_of_a_program/2_execution_frame.txt similarity index 100% rename from 4_execution_model/2_execution_frame.txt rename to 4_execution_model/1_structure_of_a_program/2_execution_frame.txt diff --git a/4_execution_model/3_names_and_name_binding_name_locality.py b/4_execution_model/2_naming_and_binding/1_names_and_name_binding_name_locality.py similarity index 100% rename from 4_execution_model/3_names_and_name_binding_name_locality.py rename to 4_execution_model/2_naming_and_binding/1_names_and_name_binding_name_locality.py diff --git a/4_execution_model/3_names_and_name_binding_name_locality.txt b/4_execution_model/2_naming_and_binding/1_names_and_name_binding_name_locality.txt similarity index 100% rename from 4_execution_model/3_names_and_name_binding_name_locality.txt rename to 4_execution_model/2_naming_and_binding/1_names_and_name_binding_name_locality.txt diff --git a/4_execution_model/imports.py b/4_execution_model/imports.py deleted file mode 100644 index c18da8c..0000000 --- a/4_execution_model/imports.py +++ /dev/null @@ -1 +0,0 @@ -from ... import * \ No newline at end of file diff --git a/4_execution_model/6_functions.py b/8_compound_statements/7_functions.py similarity index 100% rename from 4_execution_model/6_functions.py rename to 8_compound_statements/7_functions.py