IncludeCPP 3.7.7__tar.gz → 3.7.8__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.
Files changed (57) hide show
  1. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/PKG-INFO +1 -1
  2. {includecpp-3.7.7 → includecpp-3.7.8}/PKG-INFO +1 -1
  3. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/__init__.py +1 -1
  4. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +79 -17
  5. {includecpp-3.7.7 → includecpp-3.7.8}/pyproject.toml +1 -1
  6. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/SOURCES.txt +0 -0
  7. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/dependency_links.txt +0 -0
  8. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/entry_points.txt +0 -0
  9. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/requires.txt +0 -0
  10. {includecpp-3.7.7 → includecpp-3.7.8}/IncludeCPP.egg-info/top_level.txt +0 -0
  11. {includecpp-3.7.7 → includecpp-3.7.8}/LICENSE +0 -0
  12. {includecpp-3.7.7 → includecpp-3.7.8}/MANIFEST.in +0 -0
  13. {includecpp-3.7.7 → includecpp-3.7.8}/README.md +0 -0
  14. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/__init__.pyi +0 -0
  15. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/__main__.py +0 -0
  16. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/cli/__init__.py +0 -0
  17. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/cli/commands.py +0 -0
  18. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/cli/config_parser.py +0 -0
  19. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/__init__.py +0 -0
  20. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/ai_integration.py +0 -0
  21. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/build_manager.py +0 -0
  22. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cpp_api.py +0 -0
  23. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cpp_api.pyi +0 -0
  24. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cppy_converter.py +0 -0
  25. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/CSSL_DOCUMENTATION.md +0 -0
  26. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/__init__.py +0 -0
  27. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_builtins.py +0 -0
  28. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_builtins.pyi +0 -0
  29. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_events.py +0 -0
  30. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_modules.py +0 -0
  31. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_parser.py +0 -0
  32. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_runtime.py +0 -0
  33. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_syntax.py +0 -0
  34. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl/cssl_types.py +0 -0
  35. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl_bridge.py +0 -0
  36. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/cssl_bridge.pyi +0 -0
  37. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/error_catalog.py +0 -0
  38. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/error_formatter.py +0 -0
  39. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/exceptions.py +0 -0
  40. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/path_discovery.py +0 -0
  41. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/project_ui.py +0 -0
  42. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/core/settings_ui.py +0 -0
  43. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/generator/__init__.py +0 -0
  44. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/generator/parser.cpp +0 -0
  45. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/generator/parser.h +0 -0
  46. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/generator/type_resolver.cpp +0 -0
  47. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/generator/type_resolver.h +0 -0
  48. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/py.typed +0 -0
  49. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/templates/cpp.proj.template +0 -0
  50. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/__init__.py +0 -0
  51. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/cssl/__init__.py +0 -0
  52. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/cssl/language-configuration.json +0 -0
  53. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/cssl/package.json +0 -0
  54. {includecpp-3.7.7 → includecpp-3.7.8}/includecpp/vscode/cssl/snippets/cssl.snippets.json +0 -0
  55. {includecpp-3.7.7 → includecpp-3.7.8}/requirements.txt +0 -0
  56. {includecpp-3.7.7 → includecpp-3.7.8}/setup.cfg +0 -0
  57. {includecpp-3.7.7 → includecpp-3.7.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: IncludeCPP
3
- Version: 3.7.7
3
+ Version: 3.7.8
4
4
  Summary: Professional C++ Python bindings with type-generic templates, pystubs and native threading
5
5
  Home-page: https://github.com/liliassg/IncludeCPP
6
6
  Author: Lilias Hatterscheidt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: IncludeCPP
3
- Version: 3.7.7
3
+ Version: 3.7.8
4
4
  Summary: Professional C++ Python bindings with type-generic templates, pystubs and native threading
5
5
  Home-page: https://github.com/liliassg/IncludeCPP
6
6
  Author: Lilias Hatterscheidt
@@ -2,7 +2,7 @@ from .core.cpp_api import CppApi
2
2
  from .core import cssl_bridge as CSSL
3
3
  import warnings
4
4
 
5
- __version__ = "3.7.7"
5
+ __version__ = "3.7.8"
6
6
  __all__ = ["CppApi", "CSSL"]
7
7
 
8
8
  # Module-level cache for C++ modules
@@ -111,22 +111,62 @@
111
111
  "name": "meta.class.cssl",
112
112
  "begin": "\\b(class)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\{",
113
113
  "beginCaptures": {
114
- "1": { "name": "keyword.other.class.cssl" },
114
+ "1": { "name": "storage.type.class.cssl" },
115
115
  "2": { "name": "entity.name.class.cssl" }
116
116
  },
117
117
  "end": "\\}",
118
118
  "patterns": [
119
119
  { "include": "#comments" },
120
- { "include": "#function-definition" },
120
+ { "include": "#constructor-definition" },
121
+ { "include": "#class-method-definition" },
122
+ { "include": "#class-member-declaration" },
121
123
  { "include": "#types" },
122
124
  { "include": "#this-access" },
123
125
  { "include": "#strings" },
124
126
  { "include": "#numbers" },
127
+ { "include": "#keywords" },
125
128
  { "include": "#operators" }
126
129
  ]
127
130
  }
128
131
  ]
129
132
  },
133
+ "constructor-definition": {
134
+ "patterns": [
135
+ {
136
+ "comment": "Constructor: ClassName { ... } or void ClassName(...)",
137
+ "name": "meta.constructor.cssl",
138
+ "match": "\\b(void\\s+)?([A-Z][a-zA-Z0-9_]*)\\s*(?=\\{|\\()",
139
+ "captures": {
140
+ "1": { "name": "storage.type.cssl" },
141
+ "2": { "name": "entity.name.function.constructor.cssl" }
142
+ }
143
+ }
144
+ ]
145
+ },
146
+ "class-method-definition": {
147
+ "patterns": [
148
+ {
149
+ "name": "meta.method.cssl",
150
+ "match": "\\b(void|int|string|float|bool|dynamic|define)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(",
151
+ "captures": {
152
+ "1": { "name": "storage.type.cssl" },
153
+ "2": { "name": "entity.name.function.method.cssl" }
154
+ }
155
+ }
156
+ ]
157
+ },
158
+ "class-member-declaration": {
159
+ "patterns": [
160
+ {
161
+ "name": "meta.member.cssl",
162
+ "match": "\\b(int|string|float|bool|dynamic|auto)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*;",
163
+ "captures": {
164
+ "1": { "name": "storage.type.cssl" },
165
+ "2": { "name": "variable.other.member.cssl" }
166
+ }
167
+ }
168
+ ]
169
+ },
130
170
  "function-definition": {
131
171
  "patterns": [
132
172
  {
@@ -182,19 +222,19 @@
182
222
  "match": "\\b(int|string|float|bool|void|json|dynamic|auto|long|double)\\b"
183
223
  },
184
224
  {
185
- "name": "storage.type.container.cssl",
186
- "match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance|tuple|set|queue)\\b"
187
- },
188
- {
189
- "name": "storage.type.generic.cssl",
190
- "match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance|tuple|set|queue)\\s*<",
225
+ "comment": "Generic containers with type parameter: vector<int>, map<string, int>",
226
+ "name": "meta.generic.cssl",
227
+ "match": "(\\b(?:array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|tuple|set|queue))(<)([^>]+)(>)",
191
228
  "captures": {
192
- "1": { "name": "storage.type.container.cssl" }
229
+ "1": { "name": "storage.type.container.cssl" },
230
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
231
+ "3": { "name": "storage.type.parameter.cssl" },
232
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
193
233
  }
194
234
  },
195
235
  {
196
- "name": "storage.type.map-literal.cssl",
197
- "match": "\\bmap\\s*<[^>]+>\\s*\\{"
236
+ "name": "storage.type.container.cssl",
237
+ "match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance|tuple|set|queue)\\b"
198
238
  },
199
239
  {
200
240
  "name": "storage.type.combo-open.cssl",
@@ -213,19 +253,23 @@
213
253
  "injection-operators": {
214
254
  "patterns": [
215
255
  {
216
- "name": "entity.name.tag.infuse.cssl",
256
+ "comment": "Infuse operators <<== (REPLACE) - orange/gold color",
257
+ "name": "markup.inserted.infuse.cssl",
217
258
  "match": "(\\+<<==|<<==|-<<==)"
218
259
  },
219
260
  {
220
- "name": "entity.name.tag.infuse.out.cssl",
261
+ "comment": "Infuse out operators ==>> - orange/gold color",
262
+ "name": "markup.inserted.infuse.out.cssl",
221
263
  "match": "(==>>\\+|==>>|-==>>)"
222
264
  },
223
265
  {
224
- "name": "keyword.operator.injection.brute.cssl",
266
+ "comment": "Brute injection <== (ADD) - cyan/blue color",
267
+ "name": "support.constant.brute.cssl",
225
268
  "match": "(\\+<==|<==|-<==)"
226
269
  },
227
270
  {
228
- "name": "keyword.operator.injection.brute.out.cssl",
271
+ "comment": "Brute injection out ==> - cyan/blue color",
272
+ "name": "support.constant.brute.out.cssl",
229
273
  "match": "(==>\\+|==>|-==>)"
230
274
  },
231
275
  {
@@ -325,8 +369,26 @@
325
369
  "instance-references": {
326
370
  "patterns": [
327
371
  {
328
- "name": "storage.type.instance.cssl",
329
- "match": "\\binstance<\"[^\"]+\">"
372
+ "comment": "instance<\"name\"> - shared instance reference with string",
373
+ "name": "meta.instance.cssl",
374
+ "match": "(\\binstance)(<)(\"[^\"]+\")(>)",
375
+ "captures": {
376
+ "1": { "name": "storage.type.instance.cssl" },
377
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
378
+ "3": { "name": "string.quoted.double.cssl" },
379
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
380
+ }
381
+ },
382
+ {
383
+ "comment": "instance<Type> - shared instance reference with type",
384
+ "name": "meta.instance.cssl",
385
+ "match": "(\\binstance)(<)([a-zA-Z_][a-zA-Z0-9_]*)(>)",
386
+ "captures": {
387
+ "1": { "name": "storage.type.instance.cssl" },
388
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
389
+ "3": { "name": "entity.name.type.cssl" },
390
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
391
+ }
330
392
  }
331
393
  ]
332
394
  },
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "IncludeCPP"
7
- version = "3.7.7"
7
+ version = "3.7.8"
8
8
  description = "Professional C++ Python bindings with type-generic templates, pystubs and native threading"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes