STRling 2.5.7__tar.gz → 2.5.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 (24) hide show
  1. {strling-2.5.7 → strling-2.5.9}/PKG-INFO +1 -1
  2. {strling-2.5.7 → strling-2.5.9}/pyproject.toml +1 -1
  3. strling-2.5.9/src/STRling/core/__init__.py +54 -0
  4. {strling-2.5.7 → strling-2.5.9}/src/STRling.egg-info/PKG-INFO +1 -1
  5. strling-2.5.7/src/STRling/core/__init__.py +0 -39
  6. {strling-2.5.7 → strling-2.5.9}/README.md +0 -0
  7. {strling-2.5.7 → strling-2.5.9}/setup.cfg +0 -0
  8. {strling-2.5.7 → strling-2.5.9}/src/STRling/__init__.py +0 -0
  9. {strling-2.5.7 → strling-2.5.9}/src/STRling/core/compiler.py +0 -0
  10. {strling-2.5.7 → strling-2.5.9}/src/STRling/core/ir.py +0 -0
  11. {strling-2.5.7 → strling-2.5.9}/src/STRling/core/nodes.py +0 -0
  12. {strling-2.5.7 → strling-2.5.9}/src/STRling/core/parser.py +0 -0
  13. {strling-2.5.7 → strling-2.5.9}/src/STRling/core/validator.py +0 -0
  14. {strling-2.5.7 → strling-2.5.9}/src/STRling/emitters/__init__.py +0 -0
  15. {strling-2.5.7 → strling-2.5.9}/src/STRling/emitters/pcre2.py +0 -0
  16. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/__init__.py +0 -0
  17. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/constructors.py +0 -0
  18. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/lookarounds.py +0 -0
  19. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/pattern.py +0 -0
  20. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/sets.py +0 -0
  21. {strling-2.5.7 → strling-2.5.9}/src/STRling/simply/static.py +0 -0
  22. {strling-2.5.7 → strling-2.5.9}/src/STRling.egg-info/SOURCES.txt +0 -0
  23. {strling-2.5.7 → strling-2.5.9}/src/STRling.egg-info/dependency_links.txt +0 -0
  24. {strling-2.5.7 → strling-2.5.9}/src/STRling.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: STRling
3
- Version: 2.5.7
3
+ Version: 2.5.9
4
4
  Summary: Next-gen string pattern DSL & compiler
5
5
  Author: TheCyberLocal
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "STRling"
7
- version = "2.5.7"
7
+ version = "2.5.9"
8
8
  description = "Next-gen string pattern DSL & compiler"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -0,0 +1,54 @@
1
+ """
2
+ STRling Core Package - Parser, AST nodes, and core utilities
3
+
4
+ This package exposes the core components used by the STRling compiler and
5
+ bindings: the recursive-descent parser, the AST node definitions, and
6
+ related errors and helpers. The symbols re-exported here provide a
7
+ convenient, single import location for compiler internals and for tests.
8
+
9
+ Key exports:
10
+ - `parse`, `parse_to_artifact`, `ParseError` from the parser
11
+ - AST node classes (Flags, Node, Alt, Seq, Lit, Dot, Anchor, ...)
12
+
13
+ The module mirrors the documentation style used across other `core` modules.
14
+ """
15
+
16
+ from STRling.core.parser import parse, parse_to_artifact, ParseError
17
+ from STRling.core.nodes import (
18
+ Flags,
19
+ Node,
20
+ Alt,
21
+ Seq,
22
+ Lit,
23
+ Dot,
24
+ Anchor,
25
+ CharClass,
26
+ ClassLiteral,
27
+ ClassRange,
28
+ ClassEscape,
29
+ Quant,
30
+ Group,
31
+ Backref,
32
+ Look,
33
+ )
34
+
35
+ __all__ = [
36
+ "parse",
37
+ "parse_to_artifact",
38
+ "ParseError",
39
+ "Flags",
40
+ "Node",
41
+ "Alt",
42
+ "Seq",
43
+ "Lit",
44
+ "Dot",
45
+ "Anchor",
46
+ "CharClass",
47
+ "ClassLiteral",
48
+ "ClassRange",
49
+ "ClassEscape",
50
+ "Quant",
51
+ "Group",
52
+ "Backref",
53
+ "Look",
54
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: STRling
3
- Version: 2.5.7
3
+ Version: 2.5.9
4
4
  Summary: Next-gen string pattern DSL & compiler
5
5
  Author: TheCyberLocal
6
6
  License: MIT
@@ -1,39 +0,0 @@
1
- from STRling.core.parser import parse, parse_to_artifact, ParseError
2
- from STRling.core.nodes import (
3
- Flags,
4
- Node,
5
- Alt,
6
- Seq,
7
- Lit,
8
- Dot,
9
- Anchor,
10
- CharClass,
11
- ClassLiteral,
12
- ClassRange,
13
- ClassEscape,
14
- Quant,
15
- Group,
16
- Backref,
17
- Look,
18
- )
19
-
20
- __all__ = [
21
- "parse",
22
- "parse_to_artifact",
23
- "ParseError",
24
- "Flags",
25
- "Node",
26
- "Alt",
27
- "Seq",
28
- "Lit",
29
- "Dot",
30
- "Anchor",
31
- "CharClass",
32
- "ClassLiteral",
33
- "ClassRange",
34
- "ClassEscape",
35
- "Quant",
36
- "Group",
37
- "Backref",
38
- "Look",
39
- ]
File without changes
File without changes
File without changes
File without changes