How to reactively check for an error after an operation fails, and how a subsequent successful operation clears the error state.
Illustrates lazy evaluation by creating a custom 'Repeat' function that executes a code block (passed with `ByExpr`) a specified number of times.
Illustrates the core relationship between the uCalc engine, an Item (variable), and a compiled Expression.
Internal Test (Configurability) Verifying that `{@StatementSeparator}` respects the engine's definition (e.g., checking if it correctly ignores a comma used as a parameter separator).
Internal test to confirm instance isolation by proving a DataType is strictly bound to its parent uCalc instance.
Internal Test: A custom `IIf` implementation using `ByExpr` to test lazy evaluation. The branches containing division by zero are never executed, preventing errors.
Internal Test: A variadic function that sums only the arguments matching a specific data type name, testing argument introspection capabilities.
Internal Test: An advanced example that adds logging to each transaction to trace the balance changes, showing how DSLs can be combined with custom functions.
Internal Test: Clearly contrasts the rule-level invalidation of `Minimum` with the transformer-level invalidation of `GlobalMinimum`.
Internal Test: Combines `@StartAfter` and `@StopAfter` to retrieve a specific 'page' of results (matches 3 through 7).
Internal Test: Compares the behavior of `Maximum` and `GlobalMaximum` at different thresholds to validate their distinct scopes of invalidation.
Internal Test: Compares the behavior of Maximum (rule-level) and GlobalMaximum (transformer-level) invalidation.
Internal Test: Contrasts a token-aware uCalc replacement with a character-aware regex replacement to highlight safety.
Internal Test: Demonstrates error recovery by having an error handler resume execution after a custom error is raised.
Internal Test: Demonstrates how changing an operator's precedence at runtime affects the parsing of subsequent expressions.
Internal Test: Implements a `ShortCircuitOr` function to prove that the second argument is not evaluated if the first is true, using side effects (counters) for verification.
Internal Test: Implements C-style hexadecimal literals (e.g., 0xFF) by adding a new token rule and a token transformation.
Internal Test: Removes the core alphanumeric token to verify that the tokenizer falls back to character-by-character tokenization.
Internal Test: Tests programmatic updates to a variable from host code in a loop, a common high-performance pattern.