Skip to content

Advanced Rules Specification

Sinfolke edited this page Oct 27, 2026 · 1 revision

Advanced Rules Specification

For current implementation details and examples, see Advanced Rules and Fail Blocks. This older syntax note may not match the current runtime surface.

This document does not describe the goal nor problems it solve (refer for Advanced Rules Specification if you need this). It's goal is to describe specifications of Advanced Rules, their syntax and edge cases.

Syntax

1. Grammar-level

1.1 Match

match is designed to match regular grammar constructs. it's values can later be extracted. @ here is not allowed. @ID is allowed

name {
    match '(' @ex Expression ')'
}

Clone this wiki locally