IncludeCPP 3.7.7__tar.gz → 3.7.9__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.9}/IncludeCPP.egg-info/PKG-INFO +1 -1
  2. {includecpp-3.7.7 → includecpp-3.7.9}/PKG-INFO +1 -1
  3. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/__init__.py +1 -1
  4. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +96 -20
  5. {includecpp-3.7.7 → includecpp-3.7.9}/pyproject.toml +1 -1
  6. {includecpp-3.7.7 → includecpp-3.7.9}/IncludeCPP.egg-info/SOURCES.txt +0 -0
  7. {includecpp-3.7.7 → includecpp-3.7.9}/IncludeCPP.egg-info/dependency_links.txt +0 -0
  8. {includecpp-3.7.7 → includecpp-3.7.9}/IncludeCPP.egg-info/entry_points.txt +0 -0
  9. {includecpp-3.7.7 → includecpp-3.7.9}/IncludeCPP.egg-info/requires.txt +0 -0
  10. {includecpp-3.7.7 → includecpp-3.7.9}/IncludeCPP.egg-info/top_level.txt +0 -0
  11. {includecpp-3.7.7 → includecpp-3.7.9}/LICENSE +0 -0
  12. {includecpp-3.7.7 → includecpp-3.7.9}/MANIFEST.in +0 -0
  13. {includecpp-3.7.7 → includecpp-3.7.9}/README.md +0 -0
  14. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/__init__.pyi +0 -0
  15. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/__main__.py +0 -0
  16. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/cli/__init__.py +0 -0
  17. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/cli/commands.py +0 -0
  18. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/cli/config_parser.py +0 -0
  19. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/__init__.py +0 -0
  20. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/ai_integration.py +0 -0
  21. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/build_manager.py +0 -0
  22. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cpp_api.py +0 -0
  23. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cpp_api.pyi +0 -0
  24. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cppy_converter.py +0 -0
  25. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/CSSL_DOCUMENTATION.md +0 -0
  26. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/__init__.py +0 -0
  27. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_builtins.py +0 -0
  28. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_builtins.pyi +0 -0
  29. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_events.py +0 -0
  30. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_modules.py +0 -0
  31. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_parser.py +0 -0
  32. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_runtime.py +0 -0
  33. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_syntax.py +0 -0
  34. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl/cssl_types.py +0 -0
  35. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl_bridge.py +0 -0
  36. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/cssl_bridge.pyi +0 -0
  37. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/error_catalog.py +0 -0
  38. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/error_formatter.py +0 -0
  39. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/exceptions.py +0 -0
  40. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/path_discovery.py +0 -0
  41. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/project_ui.py +0 -0
  42. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/core/settings_ui.py +0 -0
  43. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/generator/__init__.py +0 -0
  44. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/generator/parser.cpp +0 -0
  45. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/generator/parser.h +0 -0
  46. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/generator/type_resolver.cpp +0 -0
  47. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/generator/type_resolver.h +0 -0
  48. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/py.typed +0 -0
  49. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/templates/cpp.proj.template +0 -0
  50. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/__init__.py +0 -0
  51. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/cssl/__init__.py +0 -0
  52. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/cssl/language-configuration.json +0 -0
  53. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/cssl/package.json +0 -0
  54. {includecpp-3.7.7 → includecpp-3.7.9}/includecpp/vscode/cssl/snippets/cssl.snippets.json +0 -0
  55. {includecpp-3.7.7 → includecpp-3.7.9}/requirements.txt +0 -0
  56. {includecpp-3.7.7 → includecpp-3.7.9}/setup.cfg +0 -0
  57. {includecpp-3.7.7 → includecpp-3.7.9}/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.9
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.9
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.9"
6
6
  __all__ = ["CppApi", "CSSL"]
7
7
 
8
8
  # Module-level cache for C++ modules
@@ -111,22 +111,64 @@
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" },
128
+ { "include": "#function-calls" },
129
+ { "include": "#builtins" },
125
130
  { "include": "#operators" }
126
131
  ]
127
132
  }
128
133
  ]
129
134
  },
135
+ "constructor-definition": {
136
+ "patterns": [
137
+ {
138
+ "comment": "Constructor: ClassName { ... } or void ClassName(...)",
139
+ "name": "meta.constructor.cssl",
140
+ "match": "\\b(void\\s+)?([A-Z][a-zA-Z0-9_]*)\\s*(?=\\{|\\()",
141
+ "captures": {
142
+ "1": { "name": "storage.type.cssl" },
143
+ "2": { "name": "entity.name.function.cssl" }
144
+ }
145
+ }
146
+ ]
147
+ },
148
+ "class-method-definition": {
149
+ "patterns": [
150
+ {
151
+ "name": "meta.method.cssl",
152
+ "match": "\\b(void|int|string|float|bool|dynamic|define|shuffled)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(",
153
+ "captures": {
154
+ "1": { "name": "storage.type.cssl" },
155
+ "2": { "name": "entity.name.function.cssl" }
156
+ }
157
+ }
158
+ ]
159
+ },
160
+ "class-member-declaration": {
161
+ "patterns": [
162
+ {
163
+ "name": "meta.member.cssl",
164
+ "match": "\\b(int|string|float|bool|dynamic|auto)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*;",
165
+ "captures": {
166
+ "1": { "name": "storage.type.cssl" },
167
+ "2": { "name": "variable.other.member.cssl" }
168
+ }
169
+ }
170
+ ]
171
+ },
130
172
  "function-definition": {
131
173
  "patterns": [
132
174
  {
@@ -158,12 +200,24 @@
158
200
  "match": "\\b(if|else|elif|while|for|foreach|in|range|switch|case|default|break|continue|return|try|catch|finally|throw)\\b"
159
201
  },
160
202
  {
161
- "name": "keyword.other.class.cssl",
162
- "match": "\\b(class|new|this)\\b"
203
+ "name": "storage.type.class.cssl",
204
+ "match": "\\b(class|struct|structure|enum|interface)\\b"
205
+ },
206
+ {
207
+ "name": "keyword.operator.new.cssl",
208
+ "match": "\\bnew\\b"
209
+ },
210
+ {
211
+ "name": "variable.language.this.cssl",
212
+ "match": "\\bthis\\b"
213
+ },
214
+ {
215
+ "name": "storage.type.function.cssl",
216
+ "match": "\\b(define|void|shuffled)\\b"
163
217
  },
164
218
  {
165
219
  "name": "keyword.other.cssl",
166
- "match": "\\b(service-init|service-run|service-include|struct|structure|define|main|package|package-includes|exec|as|global|include|get|payload|convert)\\b"
220
+ "match": "\\b(service-init|service-run|service-include|main|package|package-includes|exec|as|global|include|get|payload|convert)\\b"
167
221
  },
168
222
  {
169
223
  "name": "keyword.operator.logical.cssl",
@@ -182,19 +236,19 @@
182
236
  "match": "\\b(int|string|float|bool|void|json|dynamic|auto|long|double)\\b"
183
237
  },
184
238
  {
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*<",
239
+ "comment": "Generic containers with type parameter: vector<int>, map<string, int>",
240
+ "name": "meta.generic.cssl",
241
+ "match": "(\\b(?:array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|tuple|set|queue))(<)([^>]+)(>)",
191
242
  "captures": {
192
- "1": { "name": "storage.type.container.cssl" }
243
+ "1": { "name": "storage.type.container.cssl" },
244
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
245
+ "3": { "name": "storage.type.parameter.cssl" },
246
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
193
247
  }
194
248
  },
195
249
  {
196
- "name": "storage.type.map-literal.cssl",
197
- "match": "\\bmap\\s*<[^>]+>\\s*\\{"
250
+ "name": "storage.type.container.cssl",
251
+ "match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance|tuple|set|queue)\\b"
198
252
  },
199
253
  {
200
254
  "name": "storage.type.combo-open.cssl",
@@ -213,19 +267,23 @@
213
267
  "injection-operators": {
214
268
  "patterns": [
215
269
  {
216
- "name": "entity.name.tag.infuse.cssl",
270
+ "comment": "Infuse operators <<== (REPLACE) - orange/gold color",
271
+ "name": "markup.inserted.infuse.cssl",
217
272
  "match": "(\\+<<==|<<==|-<<==)"
218
273
  },
219
274
  {
220
- "name": "entity.name.tag.infuse.out.cssl",
275
+ "comment": "Infuse out operators ==>> - orange/gold color",
276
+ "name": "markup.inserted.infuse.out.cssl",
221
277
  "match": "(==>>\\+|==>>|-==>>)"
222
278
  },
223
279
  {
224
- "name": "keyword.operator.injection.brute.cssl",
280
+ "comment": "Brute injection <== (ADD) - cyan/blue color",
281
+ "name": "support.constant.brute.cssl",
225
282
  "match": "(\\+<==|<==|-<==)"
226
283
  },
227
284
  {
228
- "name": "keyword.operator.injection.brute.out.cssl",
285
+ "comment": "Brute injection out ==> - cyan/blue color",
286
+ "name": "support.constant.brute.out.cssl",
229
287
  "match": "(==>\\+|==>|-==>)"
230
288
  },
231
289
  {
@@ -325,8 +383,26 @@
325
383
  "instance-references": {
326
384
  "patterns": [
327
385
  {
328
- "name": "storage.type.instance.cssl",
329
- "match": "\\binstance<\"[^\"]+\">"
386
+ "comment": "instance<\"name\"> - shared instance reference with string",
387
+ "name": "meta.instance.cssl",
388
+ "match": "(\\binstance)(<)(\"[^\"]+\")(>)",
389
+ "captures": {
390
+ "1": { "name": "storage.type.instance.cssl" },
391
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
392
+ "3": { "name": "string.quoted.double.cssl" },
393
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
394
+ }
395
+ },
396
+ {
397
+ "comment": "instance<Type> - shared instance reference with type",
398
+ "name": "meta.instance.cssl",
399
+ "match": "(\\binstance)(<)([a-zA-Z_][a-zA-Z0-9_]*)(>)",
400
+ "captures": {
401
+ "1": { "name": "storage.type.instance.cssl" },
402
+ "2": { "name": "punctuation.definition.typeparameters.begin.cssl" },
403
+ "3": { "name": "entity.name.type.cssl" },
404
+ "4": { "name": "punctuation.definition.typeparameters.end.cssl" }
405
+ }
330
406
  }
331
407
  ]
332
408
  },
@@ -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.9"
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