IncludeCPP 3.7.3__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 +59 -0
- includecpp/__init__.pyi +255 -0
- includecpp/__main__.py +4 -0
- includecpp/cli/__init__.py +4 -0
- includecpp/cli/commands.py +8270 -0
- includecpp/cli/config_parser.py +127 -0
- includecpp/core/__init__.py +19 -0
- includecpp/core/ai_integration.py +2132 -0
- includecpp/core/build_manager.py +2416 -0
- includecpp/core/cpp_api.py +376 -0
- includecpp/core/cpp_api.pyi +95 -0
- includecpp/core/cppy_converter.py +3448 -0
- includecpp/core/cssl/CSSL_DOCUMENTATION.md +2075 -0
- includecpp/core/cssl/__init__.py +42 -0
- includecpp/core/cssl/cssl_builtins.py +2271 -0
- includecpp/core/cssl/cssl_builtins.pyi +1393 -0
- includecpp/core/cssl/cssl_events.py +621 -0
- includecpp/core/cssl/cssl_modules.py +2803 -0
- includecpp/core/cssl/cssl_parser.py +2575 -0
- includecpp/core/cssl/cssl_runtime.py +3051 -0
- includecpp/core/cssl/cssl_syntax.py +488 -0
- includecpp/core/cssl/cssl_types.py +1512 -0
- includecpp/core/cssl_bridge.py +882 -0
- includecpp/core/cssl_bridge.pyi +488 -0
- includecpp/core/error_catalog.py +802 -0
- includecpp/core/error_formatter.py +1016 -0
- includecpp/core/exceptions.py +97 -0
- includecpp/core/path_discovery.py +77 -0
- includecpp/core/project_ui.py +3370 -0
- includecpp/core/settings_ui.py +326 -0
- includecpp/generator/__init__.py +1 -0
- includecpp/generator/parser.cpp +1903 -0
- includecpp/generator/parser.h +281 -0
- includecpp/generator/type_resolver.cpp +363 -0
- includecpp/generator/type_resolver.h +68 -0
- includecpp/py.typed +0 -0
- includecpp/templates/cpp.proj.template +18 -0
- includecpp/vscode/__init__.py +1 -0
- includecpp/vscode/cssl/__init__.py +1 -0
- includecpp/vscode/cssl/language-configuration.json +38 -0
- includecpp/vscode/cssl/package.json +50 -0
- includecpp/vscode/cssl/snippets/cssl.snippets.json +1080 -0
- includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +341 -0
- includecpp-3.7.3.dist-info/METADATA +1076 -0
- includecpp-3.7.3.dist-info/RECORD +49 -0
- includecpp-3.7.3.dist-info/WHEEL +5 -0
- includecpp-3.7.3.dist-info/entry_points.txt +2 -0
- includecpp-3.7.3.dist-info/licenses/LICENSE +21 -0
- includecpp-3.7.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""
|
|
2
|
+
CSSL - CSO Service Script Language
|
|
3
|
+
Bundled with IncludeCPP for integrated scripting support.
|
|
4
|
+
|
|
5
|
+
Features:
|
|
6
|
+
- BruteForce Injection System: <==, ==>, +<==, -<==, <<==, ==>>
|
|
7
|
+
- Dynamic typing with 'dynamic' keyword
|
|
8
|
+
- Function modifiers: undefined, open, meta, super, closed, private, virtual
|
|
9
|
+
- Advanced data types: datastruct, shuffled, iterator, combo, dataspace
|
|
10
|
+
- Injection helpers: string::where, json::key, array::index, etc.
|
|
11
|
+
- Global references: @Name, r@Name, s@Name
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from .cssl_parser import (
|
|
15
|
+
parse_cssl, parse_cssl_program, tokenize_cssl,
|
|
16
|
+
CSSLSyntaxError, CSSLLexer, CSSLParser, ASTNode,
|
|
17
|
+
KEYWORDS, TYPE_GENERICS, TYPE_PARAM_FUNCTIONS, INJECTION_HELPERS
|
|
18
|
+
)
|
|
19
|
+
from .cssl_runtime import CSSLRuntime, CSSLRuntimeError, CSSLServiceRunner, run_cssl, run_cssl_file
|
|
20
|
+
from .cssl_types import (
|
|
21
|
+
DataStruct, Shuffled, Iterator, Combo, DataSpace, OpenQuote,
|
|
22
|
+
OpenFind, Parameter, Stack, Vector, Array,
|
|
23
|
+
create_datastruct, create_shuffled, create_iterator,
|
|
24
|
+
create_combo, create_dataspace, create_openquote, create_parameter,
|
|
25
|
+
create_stack, create_vector, create_array
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
# Parser
|
|
30
|
+
'parse_cssl', 'parse_cssl_program', 'tokenize_cssl',
|
|
31
|
+
'CSSLSyntaxError', 'CSSLLexer', 'CSSLParser', 'ASTNode',
|
|
32
|
+
'KEYWORDS', 'TYPE_GENERICS', 'TYPE_PARAM_FUNCTIONS', 'INJECTION_HELPERS',
|
|
33
|
+
# Runtime
|
|
34
|
+
'CSSLRuntime', 'CSSLRuntimeError', 'CSSLServiceRunner',
|
|
35
|
+
'run_cssl', 'run_cssl_file',
|
|
36
|
+
# Data Types
|
|
37
|
+
'DataStruct', 'Shuffled', 'Iterator', 'Combo', 'DataSpace', 'OpenQuote',
|
|
38
|
+
'OpenFind', 'Parameter', 'Stack', 'Vector', 'Array',
|
|
39
|
+
'create_datastruct', 'create_shuffled', 'create_iterator',
|
|
40
|
+
'create_combo', 'create_dataspace', 'create_openquote', 'create_parameter',
|
|
41
|
+
'create_stack', 'create_vector', 'create_array'
|
|
42
|
+
]
|