A simple two-pass transformation where the output of the first pass becomes the input for the second.
A single-pass transformer that converts headers, list items, bold, and italic Markdown syntax to HTML.
Adds a C-style single-line comment token and categorizes it as whitespace to be ignored by other rules.
An internal test to confirm that ErrorExpression returns an empty string for an error triggered manually by a user function during evaluation.
An internal test verifying that an expression remains tied to its original context, even after the context has been cloned and modified.
Applies `RewindOnChange` to a default rule set to enable complex, multi-rule transformations for a custom `Average` function.
Assigns descriptive text to multiple rules and uses the `Rule` property to identify which rule generated each match.
Calculates a monthly loan payment by defining a custom function with the standard amortization formula, showcasing a practical, real-world use case.
Calculates a total price using predefined variables and demonstrates the effect of output formatting.
Calculates simple interest by defining variables and then evaluating an expression string that uses them.
Capturing both parsing-stage and evaluation-stage errors to see how ErrorLocation behaves differently.
Chains `Before` and `Replace` to modify only the scheme of a URL, demonstrating the live view concept.
Comprehensive demonstration of Count() across arrays, functions with different parameter types, and operators.
Core VB.NET idioms: `Using` for lifetime management, property syntax, and implicit string conversions.
Creates a custom `IIf` function to demonstrate basic lazy evaluation. The division-by-zero error in the unevaluated branch is safely ignored.
Creates a domain-specific currency conversion syntax using the ExpressionTransformer, the correct tool for multi-word patterns.