Trex.psd1
|
@{ RootModule = 'Trex.psm1' ModuleVersion = '0.3.0' CompatiblePSEditions = @('Desktop', 'Core') GUID = '5e118f52-fbac-4385-a884-09b12c049003' Author = 'Mark Newton' CompanyName = 'Variably Constant' Copyright = '(c) 2026 Mark Newton' Description = 'TREX (Token Regular EXpression) is a regex-shaped pattern language over typed tokens. The lexer reads the input once into typed tokens and a pattern matches over them: a whole number, word, quoted string, IP address, URL, email address, timestamp, version and 18 more kinds are one atom each, and the whitespace between tokens is never written. A capture binds a named register that a later token must equal, a balanced bracket group matches whole, and matching does not backtrack. Twelve property axes read what the input does at each position, and a pattern can ask any of them there.' PowerShellVersion = '5.1' FormatsToProcess = @('Trex.Format.ps1xml') FunctionsToExport = @() CmdletsToExport = @('New-TrexPattern', 'Select-TrexMatch', 'Test-TrexMatch', 'Get-TrexFile', 'Get-TrexFileType', 'Get-TrexLine', 'New-TrexStreamScanner', 'Edit-TrexText', 'Protect-TrexText', 'Group-TrexMatch', 'Get-TrexToken', 'Get-TrexRecord', 'Get-TrexRecordShape', 'ConvertTo-TrexPattern', 'ConvertFrom-TrexText', 'ConvertTo-TrexLiteral', 'Find-TrexRecord', 'New-TrexIndex', 'Get-TrexIndex', 'Get-TrexRule', 'Invoke-TrexRule', 'ConvertTo-TrexSarif', 'Measure-TrexMagnitude', 'Measure-TrexStress', 'Measure-TrexFlow', 'Measure-TrexObservation', 'Measure-TrexGravity', 'Measure-TrexContext', 'Measure-TrexEcho', 'Measure-TrexOrbit', 'Measure-TrexShape', 'Measure-TrexRelation', 'Measure-TrexSpectral', 'Measure-TrexSeam', 'New-TrexGrammar', 'Invoke-TrexGrammar', 'New-TrexBpe', 'Import-TrexBpe', 'Export-TrexBpe', 'ConvertTo-TrexBpe', 'New-TrexPrefilter', 'Test-TrexPrefilter', 'Register-TrexAtom', 'Import-TrexAtom', 'Get-TrexAtom', 'Unregister-TrexAtom', 'Test-TrexAtom', 'New-TrexLibrary', 'Get-TrexClock', 'Set-TrexClock', 'Get-TrexInfo') VariablesToExport = @() AliasesToExport = @('New-TxPattern', 'Select-TxMatch', 'Test-TxMatch', 'Get-TxFile', 'Get-TxFileType', 'Get-TxLine', 'New-TxStreamScanner', 'Edit-TxText', 'Protect-TxText', 'Group-TxMatch', 'Get-TxToken', 'Get-TxRecord', 'Get-TxRecordShape', 'ConvertTo-TxPattern', 'ConvertFrom-TxText', 'ConvertTo-TxLiteral', 'Find-TxRecord', 'New-TxIndex', 'Get-TxIndex', 'Get-TxRule', 'Invoke-TxRule', 'ConvertTo-TxSarif', 'Measure-TxMagnitude', 'Measure-TxStress', 'Measure-TxFlow', 'Measure-TxObservation', 'Measure-TxGravity', 'Measure-TxContext', 'Measure-TxEcho', 'Measure-TxOrbit', 'Measure-TxShape', 'Measure-TxRelation', 'Measure-TxSpectral', 'Measure-TxSeam', 'New-TxGrammar', 'Invoke-TxGrammar', 'New-TxBpe', 'Import-TxBpe', 'Export-TxBpe', 'ConvertTo-TxBpe', 'New-TxPrefilter', 'Test-TxPrefilter', 'Register-TxAtom', 'Import-TxAtom', 'Get-TxAtom', 'Unregister-TxAtom', 'Test-TxAtom', 'New-TxLibrary', 'Get-TxClock', 'Set-TxClock', 'Get-TxInfo') PrivateData = @{ PSData = @{ Tags = @('pwrs', 'powershell', 'regex', 'tokens', 'pattern-matching', 'text-search', 'cmdlet'); LicenseUri = 'https://github.com/Variably-Constant/trex/blob/main/LICENSE-MIT'; ProjectUri = 'https://github.com/Variably-Constant/trex'; ReleaseNotes = 'This version puts the CUDA kernel in every Windows and Linux artifact, this module''s native library among them, built with CUDA 12.0 for NVIDIA drivers of the 525 series or later. It adds readings of the gravity and context axes, every axis''s own thresholds as settings, written cuts on @seam and @ambiguous, and a hex token kind. A number written with an exponent, a radix prefix or underscore groups lexes as one number, and text outside ASCII reads as text. It breaks 0.2.0 callers, which is why it is 0.3.0. What changed is listed in https://github.com/Variably-Constant/trex/blob/main/CHANGELOG.md.' } } } |