Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResonatorNoErr ¶
ResonatorNoErr Used mainly for testing
func Validate ¶
Validate parses def in strict mode and returns each diagnostic as its own message (empty slice == valid). Strict mode adds checks the lenient runtime parser (Resonator) deliberately omits so it never rejects an already-deployed rule:
- unterminated string / regex literals (from the lexer)
- tokens that aren't a recognized clause keyword reaching the top level (unknown verbs, trailing garbage)
Diagnostics are returned individually (not joined) so callers can report an accurate count. Lexer diagnostics come first, then parser diagnostics, collected after ParseEvent drains the lexer to EOF.
Intended for the admin validate endpoint and authoring tools — the runtime path stays on Resonator.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast defines the runtime value AST nodes shared across the txcl parser, runtime evaluator, and processor.
|
Package ast defines the runtime value AST nodes shared across the txcl parser, runtime evaluator, and processor. |
|
Package funcs is the curated registry of inline txcl functions — the `&name(args...)` runtime calls that complement `txco://` ops.
|
Package funcs is the curated registry of inline txcl functions — the `&name(args...)` runtime calls that complement `txco://` ops. |
|
Package runtime is the txcl value-resolution layer.
|
Package runtime is the txcl value-resolution layer. |
Click to show internal directories.
Click to hide internal directories.