IncludeCPP 3.8.9__py3-none-any.whl → 4.0.2__py3-none-any.whl
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.
- includecpp/__init__.py +1 -1
- includecpp/cli/commands.py +7 -14
- includecpp/core/cssl/CSSL_DOCUMENTATION.md +869 -1872
- includecpp/core/cssl/CSSL_DOCUMENTATION_NEW.md +1348 -0
- includecpp/core/cssl/cssl_builtins.pyi +231 -0
- includecpp/core/cssl/cssl_parser.py +365 -88
- includecpp/core/cssl/cssl_runtime.py +564 -41
- includecpp/core/cssl_bridge.py +4 -4
- includecpp/core/cssl_bridge.pyi +586 -193
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/METADATA +2 -1
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/RECORD +15 -14
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/WHEEL +0 -0
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/entry_points.txt +0 -0
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/licenses/LICENSE +0 -0
- {includecpp-3.8.9.dist-info → includecpp-4.0.2.dist-info}/top_level.txt +0 -0
includecpp/core/cssl_bridge.py
CHANGED
|
@@ -455,12 +455,12 @@ class CsslLang:
|
|
|
455
455
|
|
|
456
456
|
return result
|
|
457
457
|
except Exception as e:
|
|
458
|
-
# Format error message nicely
|
|
458
|
+
# Format error message nicely - don't add prefixes, let CLI handle that
|
|
459
459
|
error_msg = str(e)
|
|
460
|
-
#
|
|
460
|
+
# Strip any existing CSSL Error: prefix to avoid duplication
|
|
461
461
|
if error_msg.startswith("CSSL Error:"):
|
|
462
|
-
|
|
463
|
-
raise RuntimeError(
|
|
462
|
+
error_msg = error_msg[11:].strip()
|
|
463
|
+
raise RuntimeError(error_msg) from e
|
|
464
464
|
|
|
465
465
|
def exec(self, path_or_code: str, *args) -> Any:
|
|
466
466
|
"""
|