flowrs-engine/crates/flowrs-openui/tests/fixtures/1.0/grammar
Repository files (latest commit first)
Filename Latest commit message Latest commit date
flowRS fd958c0547 flowRS engine, cut from flowRS 3451b065
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 19:04:39 -05:00
..
README.md flowRS engine, cut from flowRS 3451b065 2026-11-02 19:04:39 -05:00

grammar

These cases protect a client from reading the source text differently from other clients: where fences open and close, what counts as a comment, how strings, numbers, and minus signs lex, and how expressions group. They cover language.md section 1 and the round trip of section 9.2. Numbers 001, 002, and 007 are not used.

Case What it checks Spec
003-fence-multiple-joined Two fences are joined, the second runs to the end of the text with no closing fence, and three backticks inside a double-quoted string do not close the first. 1.2
004-comment-strip // and # comments are removed, and comment markers inside strings, including a multi-line string, are kept. 1.2
005-lex-escapes JSON escapes in double-quoted strings (\", \\, \t, \u0041), and \' and \n in single-quoted strings. 1.3
006-lex-minus-and-skip 1 -2 after a value is subtraction, -5 after a comma is a number, and an unknown character (;) is skipped. 1.3
008-expr-precedence-and-keys Operator precedence and associativity, optional and trailing commas, and object keys written as names, strings, numbers, $ names (the $ is dropped), and component names. 1.5
009-member-digits-field m[1][0] indexes, o.0 reads the key "0", and m.0 on an array plucks. 1.5, 3.3
010-roundtrip-tree The rendered tree serializes to text and parses back to the same root. 9.2