trex-re 0.1.0__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.
- trex_re-0.1.0/CHANGELOG.md +38 -0
- trex_re-0.1.0/Cargo.lock +875 -0
- trex_re-0.1.0/Cargo.toml +369 -0
- trex_re-0.1.0/LICENSE-MIT +21 -0
- trex_re-0.1.0/PKG-INFO +97 -0
- trex_re-0.1.0/README.md +325 -0
- trex_re-0.1.0/_corpus/prior_en.txt +5291 -0
- trex_re-0.1.0/build.rs +150 -0
- trex_re-0.1.0/kernels/compress.cu +378 -0
- trex_re-0.1.0/kernels/scan.cu +172 -0
- trex_re-0.1.0/pyproject.toml +27 -0
- trex_re-0.1.0/python/Cargo.toml +29 -0
- trex_re-0.1.0/python/README.md +80 -0
- trex_re-0.1.0/python/src/lib.rs +1992 -0
- trex_re-0.1.0/python/tests/test_trex.py +529 -0
- trex_re-0.1.0/src/action.rs +357 -0
- trex_re-0.1.0/src/ast.rs +2434 -0
- trex_re-0.1.0/src/bpe.rs +319 -0
- trex_re-0.1.0/src/builder.rs +319 -0
- trex_re-0.1.0/src/byte_dfa.rs +336 -0
- trex_re-0.1.0/src/byte_lex.rs +1268 -0
- trex_re-0.1.0/src/byte_nfa.rs +772 -0
- trex_re-0.1.0/src/byte_simd.rs +2425 -0
- trex_re-0.1.0/src/bytepat.rs +1112 -0
- trex_re-0.1.0/src/canon.rs +115 -0
- trex_re-0.1.0/src/captures.rs +782 -0
- trex_re-0.1.0/src/checksum.rs +591 -0
- trex_re-0.1.0/src/cli_files.rs +5171 -0
- trex_re-0.1.0/src/cli_follow.rs +777 -0
- trex_re-0.1.0/src/cli_lines.rs +425 -0
- trex_re-0.1.0/src/cli_rules.rs +401 -0
- trex_re-0.1.0/src/cli_window.rs +281 -0
- trex_re-0.1.0/src/context.rs +1392 -0
- trex_re-0.1.0/src/cursor.rs +1929 -0
- trex_re-0.1.0/src/curvature.rs +382 -0
- trex_re-0.1.0/src/custom.rs +1389 -0
- trex_re-0.1.0/src/decoded.rs +356 -0
- trex_re-0.1.0/src/dual_grain.rs +351 -0
- trex_re-0.1.0/src/e8.rs +385 -0
- trex_re-0.1.0/src/echo.rs +771 -0
- trex_re-0.1.0/src/edit.rs +73 -0
- trex_re-0.1.0/src/encoding.rs +673 -0
- trex_re-0.1.0/src/ends_simd.rs +349 -0
- trex_re-0.1.0/src/engine.rs +6313 -0
- trex_re-0.1.0/src/entanglement.rs +233 -0
- trex_re-0.1.0/src/explain.rs +822 -0
- trex_re-0.1.0/src/files.rs +801 -0
- trex_re-0.1.0/src/flow.rs +807 -0
- trex_re-0.1.0/src/follow.rs +301 -0
- trex_re-0.1.0/src/fxhash.rs +315 -0
- trex_re-0.1.0/src/gauge.rs +120 -0
- trex_re-0.1.0/src/geodesic.rs +209 -0
- trex_re-0.1.0/src/gpu/coder.rs +879 -0
- trex_re-0.1.0/src/gpu.rs +2862 -0
- trex_re-0.1.0/src/grammar.rs +1573 -0
- trex_re-0.1.0/src/gravity.rs +758 -0
- trex_re-0.1.0/src/holography.rs +322 -0
- trex_re-0.1.0/src/index.rs +641 -0
- trex_re-0.1.0/src/infer/build.rs +3386 -0
- trex_re-0.1.0/src/infer/marks.rs +504 -0
- trex_re-0.1.0/src/infer.rs +706 -0
- trex_re-0.1.0/src/isa.rs +148 -0
- trex_re-0.1.0/src/kind_route.rs +955 -0
- trex_re-0.1.0/src/lexer.rs +3171 -0
- trex_re-0.1.0/src/lib.rs +236 -0
- trex_re-0.1.0/src/library.rs +1021 -0
- trex_re-0.1.0/src/magnitude.rs +390 -0
- trex_re-0.1.0/src/main.rs +2837 -0
- trex_re-0.1.0/src/nfa.rs +5209 -0
- trex_re-0.1.0/src/observation.rs +466 -0
- trex_re-0.1.0/src/orbit.rs +568 -0
- trex_re-0.1.0/src/out.rs +17 -0
- trex_re-0.1.0/src/paint.rs +999 -0
- trex_re-0.1.0/src/parallel_lex.rs +2507 -0
- trex_re-0.1.0/src/parser.rs +2238 -0
- trex_re-0.1.0/src/pattern_set.rs +1278 -0
- trex_re-0.1.0/src/prefilter.rs +8221 -0
- trex_re-0.1.0/src/prior_cache.rs +319 -0
- trex_re-0.1.0/src/profile.rs +1008 -0
- trex_re-0.1.0/src/quantity.rs +999 -0
- trex_re-0.1.0/src/records.rs +519 -0
- trex_re-0.1.0/src/relation.rs +555 -0
- trex_re-0.1.0/src/report.rs +639 -0
- trex_re-0.1.0/src/resonator.rs +993 -0
- trex_re-0.1.0/src/rewrite.rs +2297 -0
- trex_re-0.1.0/src/rule_scan.rs +740 -0
- trex_re-0.1.0/src/seam/coder.rs +2649 -0
- trex_re-0.1.0/src/seam.rs +2280 -0
- trex_re-0.1.0/src/shape.rs +576 -0
- trex_re-0.1.0/src/spectral.rs +2226 -0
- trex_re-0.1.0/src/streaming.rs +1032 -0
- trex_re-0.1.0/src/stress.rs +371 -0
- trex_re-0.1.0/src/supertoken.rs +388 -0
- trex_re-0.1.0/src/tandem.rs +127 -0
- trex_re-0.1.0/src/templates.rs +545 -0
- trex_re-0.1.0/src/token.rs +622 -0
- trex_re-0.1.0/src/tokutil.rs +54 -0
- trex_re-0.1.0/src/topology.rs +254 -0
- trex_re-0.1.0/src/trace.rs +364 -0
- trex_re-0.1.0/src/typed.rs +4572 -0
- trex_re-0.1.0/src/window.rs +1596 -0
- trex_re-0.1.0/wiki/content/docs/reference/axes/context.md +106 -0
- trex_re-0.1.0/wiki/content/docs/reference/axes/shape.md +220 -0
- trex_re-0.1.0/wiki/content/docs/reference/library-api.md +181 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to trex are recorded here. The Rust crate (`trex-re` on
|
|
4
|
+
crates.io), the Python package (`trex-re` on PyPI) and the PowerShell module
|
|
5
|
+
(`Trex` on the PowerShell Gallery) share one version number and release
|
|
6
|
+
together. The format follows
|
|
7
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
8
|
+
|
|
9
|
+
## [0.1.0] - 2026-09-29
|
|
10
|
+
|
|
11
|
+
The first release.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- A pattern language over typed tokens: the lexer reads the input once into
|
|
16
|
+
25 kinds of token (numbers, words, quoted strings, IP addresses, URLs,
|
|
17
|
+
emails, timestamps, versions, payment cards and the rest), and an atom such
|
|
18
|
+
as `\N` or `\E` matches one whole token. Matching runs by derivatives and
|
|
19
|
+
does not backtrack.
|
|
20
|
+
- Value predicates in a kind's own units (`\N{500..599}`, `\I{in:10.0.0.0/8}`,
|
|
21
|
+
`\T{age<24h}`), balanced bracket groups, and named registers that a later
|
|
22
|
+
`=name` must equal, exactly or up to case, shape, representation or a typed
|
|
23
|
+
relation.
|
|
24
|
+
- Custom atoms declared with `let`, `kind` and `shape` lines checked by `test`
|
|
25
|
+
lines, beside a shipped library of 75 named kinds and patterns.
|
|
26
|
+
- The `trex` command: `scan` over files, standard input and directory trees
|
|
27
|
+
walked under `.gitignore` rules; `rewrite` and `redact`, in place behind a
|
|
28
|
+
diff dry run; `head`, `tail`, `lines` and `--follow`; `top`, `count-by` and
|
|
29
|
+
`uniq`; the ten property axes; and `infer`, which builds a pattern from
|
|
30
|
+
examples and from `{name:text}` marks, reading `ConvertFrom-String`
|
|
31
|
+
templates.
|
|
32
|
+
- A CUDA backend in the default build for patterns that read only token kinds;
|
|
33
|
+
a machine without a device runs the same binary on the CPU.
|
|
34
|
+
- The Python package `trex-re`, imported as `trex`: one stable-ABI wheel per
|
|
35
|
+
platform for Python 3.11 and later.
|
|
36
|
+
- The PowerShell module `Trex`: 49 cmdlets writing matches, findings and
|
|
37
|
+
reports as objects, for PowerShell 7 and Windows PowerShell 5.1.
|
|
38
|
+
- The MIT license.
|