Practical: Modifies the default alphanumeric token to include hyphens, allowing it to match hyphenated identifiers as single words.
Practical: Re-categorizes the newline token as whitespace to allow a pattern to match across multiple lines, a common requirement for parsing HTML or XML.
Practical: Shows how disabling statement sensitivity is essential for parsing multi-line HTML/XML blocks.
Practical: Traces the recursive expansion of a custom `MySum` function, showing how it is broken down into a standard arithmetic expression.
Practical: Validates a configuration file format by enforcing the number of times specific keys must appear.
Practical: Validating log file entries. If more than 2 'WARNING' entries exist, they are ignored, but 'ERROR' entries are still processed.
Processes a log file but stops after finding the first error message to focus on the initial problem.
Retrieves a Tokens collection's parent uCalc instance and verifies its identity by reading a description.
Safely renames a variable without corrupting a string literal, demonstrating the Transformer's token-awareness.