statable 3.5.0__tar.gz → 3.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {statable-3.5.0 → statable-3.5.2}/PKG-INFO +1 -1
- {statable-3.5.0 → statable-3.5.2}/codegen/__init__.py +37 -37
- {statable-3.5.0 → statable-3.5.2}/codegen/c_code_generator.py +1 -1
- {statable-3.5.0 → statable-3.5.2}/codegen/enum_generator.py +376 -376
- {statable-3.5.0 → statable-3.5.2}/codegen/naming_convention.py +171 -170
- {statable-3.5.0 → statable-3.5.2}/codegen/transition_generator.py +906 -906
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/data/action_definitions.py +3 -1
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/data/keywords.py +3 -1
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/logger.py +3 -1
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/validation_dialog.py +321 -321
- {statable-3.5.0 → statable-3.5.2}/codegen/variable_generator.py +418 -418
- {statable-3.5.0 → statable-3.5.2}/pyproject.toml +9 -1
- {statable-3.5.0 → statable-3.5.2}/statable/__init__.py +1 -1
- {statable-3.5.0 → statable-3.5.2}/statable/model.py +7 -5
- {statable-3.5.0 → statable-3.5.2}/statable/shared/condition_library.py +3 -1
- {statable-3.5.0 → statable-3.5.2}/statable/shared/literal_library.py +3 -1
- {statable-3.5.0 → statable-3.5.2}/statable/xml_io.py +1175 -1163
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/PKG-INFO +1 -1
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/SOURCES.txt +1 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_readme_consistency.py +492 -481
- statable-3.5.2/tests/test_v3_5_1_eclipse_installer.py +238 -0
- {statable-3.5.0 → statable-3.5.2}/README.md +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/code_merger.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/code_templates.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/config.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/event_queue_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/interrupt_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/osal_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/role_function_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/sample_data.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/state_actions_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/struct_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/timer_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/type_mapper.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/change_actions.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/change_applier.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/clipboard_manager.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/data/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/data/prompt_templates.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/data/validation_rules.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/base_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/cell_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/custom_type_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/event_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/flag_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/interrupt_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/queue_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/role_function_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/state_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/timer_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/transition_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/items/variable_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/models.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/prompt_generator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/response_parser.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/response_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/codegen/validate/validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/setup.cfg +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/__main__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/cli.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/global_defs.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/mermaid_gen.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/output_utils.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/parser.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/sample_data.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/shared/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/shared/role_function_library.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/smoke.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable/state_machine.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/dependency_links.txt +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/entry_points.txt +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/requires.txt +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable.egg-info/top_level.txt +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/action_edit_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/code_generation_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/code_generation_settings_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/common_widgets.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/condition_builder_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/condition_edit_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/condition_template_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/config.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/dialogs.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/event_definition_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/event_delivery_settings_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/event_queue_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/fs_cleanup.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/global_defs.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/global_defs_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/i18n/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/interrupt_handler_edit_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/layer_settings_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/condition_library.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/literal_library.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/literal_management_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/role_function_edit_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/libcntrl/role_function_library.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/literal_definition_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/logger.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/main_window.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/matrix_table.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/new_project_templates.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/new_project_wizard.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/output_warning.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/preference_keys.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/preferences.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/role_function_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/sample_data.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/state_actions_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/symbol_picker.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/traceball.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/__init__.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/actions_tab.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/code_widget.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/coverage_analyzer.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/draft.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/edit_dialogs.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/overview_tab.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/palette_widget.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/relations_edit_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/relations_tab.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/system_global_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/transition_actions_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/transition_editor_direct/transitions_tab.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/validation_dialog.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/statable_gui/widgets.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_ci_registration.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p1.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_10.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_2.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_5.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_6.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_7.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_8.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p12_9.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p2.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p3.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p4a.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_2_p4b.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_3_p1.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_4_p1_merge.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p1.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p10.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p11.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p2.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p3.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p4.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p5.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p6.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p8.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_5_p9.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_6_p1.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_6_p2.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_6_p3.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_7_p3.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_7_p4.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_7_p5_validation.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_8_p1_ai_prompt.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_8_p2_response_parser.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_8_p3_response_validator.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v2_8_p4_gui_integration.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_0_g1_shared.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_0_s1_packaging.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_0_s2_public_api.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_0_s3_cli.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_0_s4_docs.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_2_s1_wizard.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_2_s2_signals.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_4_0_signal_safety.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_4_0_state_actions.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_5_gui_output_clean.py +0 -0
- {statable-3.5.0 → statable-3.5.2}/tests/test_v3_5_s1_smoke.py +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# codegen package
|
|
2
|
-
"""
|
|
3
|
-
StaTable code generation layer
|
|
4
|
-
|
|
5
|
-
[v1.5 added]
|
|
6
|
-
- Keep re-exports minimal
|
|
7
|
-
- CCodeGenerator loads many submodules at generation time,
|
|
8
|
-
so it is not re-exported at top level (to reduce startup time)
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
__version__ = "3.
|
|
12
|
-
|
|
13
|
-
__all__ = [
|
|
14
|
-
'CCodeGenerator',
|
|
15
|
-
'CodeGenerationConfig',
|
|
16
|
-
'ConfigManager',
|
|
17
|
-
'validate',
|
|
18
|
-
'__version__',
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def __getattr__(name):
|
|
23
|
-
"""\n PEP 562 lazy import\n"""
|
|
24
|
-
if name == 'CCodeGenerator':
|
|
25
|
-
from .c_code_generator import CCodeGenerator
|
|
26
|
-
return CCodeGenerator
|
|
27
|
-
if name == 'CodeGenerationConfig':
|
|
28
|
-
from .config import CodeGenerationConfig
|
|
29
|
-
return CodeGenerationConfig
|
|
30
|
-
if name == 'ConfigManager':
|
|
31
|
-
from .config import ConfigManager
|
|
32
|
-
return ConfigManager
|
|
33
|
-
if name == 'validate':
|
|
34
|
-
import importlib
|
|
35
|
-
return importlib.import_module('.validate', __name__)
|
|
36
|
-
raise AttributeError(
|
|
37
|
-
f"module 'codegen' has no attribute {name!r}"
|
|
1
|
+
# codegen package
|
|
2
|
+
"""
|
|
3
|
+
StaTable code generation layer
|
|
4
|
+
|
|
5
|
+
[v1.5 added]
|
|
6
|
+
- Keep re-exports minimal
|
|
7
|
+
- CCodeGenerator loads many submodules at generation time,
|
|
8
|
+
so it is not re-exported at top level (to reduce startup time)
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
__version__ = "3.5.2"
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'CCodeGenerator',
|
|
15
|
+
'CodeGenerationConfig',
|
|
16
|
+
'ConfigManager',
|
|
17
|
+
'validate',
|
|
18
|
+
'__version__',
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def __getattr__(name):
|
|
23
|
+
"""\n PEP 562 lazy import\n"""
|
|
24
|
+
if name == 'CCodeGenerator':
|
|
25
|
+
from .c_code_generator import CCodeGenerator
|
|
26
|
+
return CCodeGenerator
|
|
27
|
+
if name == 'CodeGenerationConfig':
|
|
28
|
+
from .config import CodeGenerationConfig
|
|
29
|
+
return CodeGenerationConfig
|
|
30
|
+
if name == 'ConfigManager':
|
|
31
|
+
from .config import ConfigManager
|
|
32
|
+
return ConfigManager
|
|
33
|
+
if name == 'validate':
|
|
34
|
+
import importlib
|
|
35
|
+
return importlib.import_module('.validate', __name__)
|
|
36
|
+
raise AttributeError(
|
|
37
|
+
f"module 'codegen' has no attribute {name!r}"
|
|
38
38
|
)
|