ASCII Variable Review Matrix
Review symbol and unit glyph inputs against the same parser path used by FormulaSheet rows. Authored expectations and observed parser results are reported separately.
- Cases
- 125
- Groups
- 10
- Matches
- 125/125
| Case | Input | ASCII Render | Authored expectation | Observed outcome | Review Focus |
|---|---|---|---|---|---|
Variables And TextVariable words, adjacent tokens, quoted labels, and literal punctuation. | |||||
Single lowercase | b | Supported Plain variable token | Rendered Matches the expected notation | Base variable rendering | |
Single uppercase | M | Supported Plain uppercase variable token | Rendered Matches the expected notation | Capital symbol names | |
Multi-letter word | width | Supported One variable word | Rendered Matches the expected notation | Long variable labels | |
Mixed case word | Mcr | Supported One mixed-case variable word | Rendered Matches the expected notation | Case preservation | |
Adjacent words | Delta c | Supported Greek alias followed by variable | Rendered Matches the expected notation | Whitespace-separated sequences | |
Adjacent number | x1 | Supported Variable followed by integer | Rendered Matches the expected notation | Word and number boundary | |
Repeated token | ccc | Supported One variable word | Rendered Matches the expected notation | No implicit splitting by letter | |
Quoted text | "gross area" | Supported Quoted literal text | Rendered Matches the expected notation | Spaces inside labels | |
Escaped quote | "quote \"inside\"" | Supported Quoted text with escaped quotes | Rendered Matches the expected notation | Quoted-string escaping | |
Percent character | % | Literal fallback Unknown character rendered literally | Rendered Matches the expected notation | Fallback for unit punctuation | |
Hyphenated text | f-ck | Literal fallback Hyphen is an operator-like literal token | Rendered Matches the expected notation | Unexpected punctuation inside labels | |
NumbersInteger, decimal, signed, and number-like strings. | |||||
Integer | 123 | Supported Integer token | Rendered Matches the expected notation | Whole-number labels | |
Decimal | 3.14 | Supported Float token | Rendered Matches the expected notation | Decimal labels | |
Trailing decimal | 3. | Supported Float token | Rendered Matches the expected notation | Decimal without fractional digits | |
Leading decimal | .5 | Supported Float token | Rendered Matches the expected notation | Decimal without leading zero | |
Negative integer | -12 | Supported Signed integer token | Rendered Matches the expected notation | Negative numeric labels | |
Negative decimal | -0.5 | Supported Signed float token | Rendered Matches the expected notation | Negative decimal labels | |
Zero | 0 | Supported Integer zero | Rendered Matches the expected notation | Zero labels | |
Scientific notation text | 1e3 | Literal fallback Integer, variable, integer sequence | Rendered Matches the expected notation | Unsupported exponent notation | |
NaN text | NaN | Literal fallback Variable word | Rendered Matches the expected notation | Non-number text stays textual | |
Infinity text | Infinity | Literal fallback Variable word | Rendered Matches the expected notation | Infinity is not a numeric token | |
Subscripts And SuperscriptsSupported script order, grouped scripts, spacing, and intentional fallback syntax. | |||||
Subscript | f_ck | Supported Single-token subscript | Rendered Matches the expected notation | Common engineering symbols | |
Superscript | mm^2 | Supported Single-token superscript | Rendered Matches the expected notation | Unit powers | |
Subscript and power | x_i^2 | Supported Subscript before superscript | Rendered Matches the expected notation | Supported combined script order | |
Power then subscript | x^2_i | Literal fallback Superscript renders; trailing subscript marker is literal | Rendered Matches the expected notation | Unsupported script order | |
Brace subscript | c_{min,dur} | Supported Grouped multi-token subscript | Rendered Matches the expected notation | Comma-separated script text | |
Brace superscript | A^{alpha+1} | Supported Grouped exponent | Rendered Matches the expected notation | Expression in exponent | |
Both grouped | x_{a+b}^{n-1} | Supported Grouped subscript and superscript | Rendered Matches the expected notation | Multi-token scripts on both sides | |
Nested brace script | x_{{a+b}} | Supported Nested brace groups are accepted and remain structural | Rendered Matches the expected notation | Invisible nested script grouping | |
Greek subscript | Delta c_{dur,gamma} | Supported Plain Greek aliases in label and script | Rendered Matches the expected notation | Plain Greek in scripts | |
Backslash Greek script | \Delta c_{dur,\gamma} | Supported Backslash Greek aliases in label and script | Rendered Matches the expected notation | Backslash Greek in scripts | |
Whitespace after marker | x_ {i} | Supported Whitespace ignored before script argument | Rendered Matches the expected notation | Authoring tolerance | |
Dangling subscript marker | x_ | Literal fallback Trailing marker renders literally | Rendered Matches the expected notation | Incomplete authoring fallback | |
Paren script fallback | omega_(abc) | Literal fallback Parentheses render visibly but are not consumed as a subscript | Rendered Matches the expected notation | Use braces for scripts | |
Square script fallback | x_[abc] | Literal fallback Square brackets render visibly but are not consumed as a subscript | Rendered Matches the expected notation | Use braces for scripts | |
Fractions And GroupsBraces group invisibly; parentheses and square brackets group visibly. | |||||
Simple fraction | 1/3 | Supported One item over one item | Rendered Matches the expected notation | Basic fraction rendering | |
Symbol fraction | a/b | Supported Variable over variable | Rendered Matches the expected notation | Variable ratio | |
Visible paren group | (a+b) | Supported Visible parentheses around grouped contents | Rendered Matches the expected notation | Common math grouping | |
Visible square group | [a+b] | Supported Visible square brackets around grouped contents | Rendered Matches the expected notation | Bracketed grouping | |
Unit fraction | kN/m^2 | Supported Unit over powered unit | Rendered Matches the expected notation | Compound unit labels | |
Grouped fraction | {a+b}/{c+d} | Supported Invisible brace groups expand both fraction sides | Rendered Matches the expected notation | Bare multi-token fraction sides | |
Visible numerator group | (M1+M2)/m_3 | Supported Parenthesized numerator stays visible and groups the fraction side | Rendered Matches the expected notation | Common numerator grouping | |
Invisible numerator group | {M1+M2}/m_3 | Supported Brace group expands the numerator without visible fences | Rendered Matches the expected notation | Authoring-only grouping | |
Grouped numerator | {M_cr+M_Rd}/M_Ed | Supported Invisible grouped numerator | Rendered Matches the expected notation | Mixed scripts inside numerator | |
Grouped denominator | a/{b+c} | Supported Invisible grouped denominator | Rendered Matches the expected notation | Expanded denominator | |
Grouped product | {b*h}/12 | Supported Invisible grouped numerator | Rendered Matches the expected notation | Operator tokens inside groups | |
Nested grouped fraction | {{a+b}/c}/d | Supported Invisible outer group around a fraction numerator | Rendered Matches the expected notation | Nested group and fraction rendering | |
Leading slash | /a | Supported Slash operator followed by a variable | Rendered Matches the expected notation | Leading slash is an operator, not unary fraction syntax | |
Missing denominator | a/ | Error fallback Parser error rendered as red question mark | Parse error MISSING_FRACTION_DENOMINATOR at 2 | Incomplete fraction input | |
Unclosed group | {a+b | Error fallback Parser error rendered as red question mark | Parse error UNCLOSED_GROUP at 0 | Missing closing brace | |
Empty group | {} | Error fallback Parser error rendered as red question mark | Parse error EMPTY_GROUP at 1 | Brace group must contain an item | |
Greek LettersPlain and backslash-prefixed Greek aliases. | |||||
Lowercase core | alpha beta gamma delta | Supported Lowercase Greek aliases | Rendered Matches the expected notation | Common lowercase letters | |
Lowercase extended | zeta eta theta iota kappa | Supported More lowercase Greek aliases | Rendered Matches the expected notation | Lowercase coverage | |
Lowercase tail | lambda mu nu xi pi rho sigma tau | Supported More lowercase Greek aliases | Rendered Matches the expected notation | Lowercase coverage | |
Lowercase variants | epsilon varepsilon vartheta phi varphi | Supported Variant Greek aliases | Rendered Matches the expected notation | Variant glyph choices | |
Lowercase final | upsilon chi psi omega | Supported Final lowercase Greek aliases | Rendered Matches the expected notation | Lowercase coverage | |
Uppercase core | Gamma Delta Theta Lambda Xi | Supported Uppercase Greek aliases | Rendered Matches the expected notation | Uppercase coverage | |
Uppercase tail | Pi Sigma Phi Psi Omega | Supported Uppercase Greek aliases | Rendered Matches the expected notation | Uppercase coverage | |
Backslash lowercase | \alpha \delta \omega | Supported Backslash lowercase Greek aliases | Rendered Matches the expected notation | Backslash Greek support | |
Single backslash Greek | \delta | Supported One backslash Greek alias | Rendered Matches the expected notation | Single-token backslash Greek support | |
Backslash uppercase | \Delta \Omega | Supported Backslash uppercase Greek aliases | Rendered Matches the expected notation | Backslash Greek support | |
Unsupported backslash word | \betaValue | Literal fallback Backslash renders literally before non-Greek command text | Rendered Matches the expected notation | Backslash command fallback | |
Known Alias SweepCompact aliases for operators, sets, calculus, relations, logic, arrows, and shapes. | |||||
Products | * cdot ** ast *** star | Supported Product and star aliases | Rendered Matches the expected notation | Operator alias coverage | |
Division aliases | // backslash setminus -: div | Supported Slash, setminus, and division aliases | Rendered Matches the expected notation | Division-like symbols | |
Times aliases | xx times |>< ><| |><| | Supported Times and join aliases | Rendered Matches the expected notation | Product variants | |
Circle operators | @ circ o+ oplus ox otimes o. odot | Supported Circle and circled operator aliases | Rendered Matches the expected notation | Circle operator variants | |
Large operators | sum prod int oint | Supported Summation, product, and integral aliases | Rendered Matches the expected notation | Large operator coverage | |
Calculus aliases | del partial grad nabla | Supported Differential and gradient aliases | Rendered Matches the expected notation | Calculus symbols | |
And word | and | Supported Textual logic word | Rendered Matches the expected notation | Word alias with no symbol substitution | |
Or word | or | Supported Textual logic word | Rendered Matches the expected notation | Word alias with no symbol substitution | |
If word | if | Supported Textual logic word | Rendered Matches the expected notation | Word alias with no symbol substitution | |
Negation aliases | not neg | Supported Both aliases render as negation symbols | Rendered Matches the expected notation | Symbolic logic aliases | |
Logic quantifiers | AA forall EE exists | Supported Quantifier aliases | Rendered Matches the expected notation | Logic quantifier coverage | |
Bottom symbol alias | _|_ | Supported Bottom truth symbol | Rendered Matches the expected notation | Symbolic false alias | |
Bottom word alias | bot | Supported Bottom truth symbol | Rendered Matches the expected notation | Word false alias | |
Top symbol alias | TT | Supported Top truth symbol | Rendered Matches the expected notation | Symbolic true alias | |
Top word alias | top | Supported Top truth symbol | Rendered Matches the expected notation | Word true alias | |
Implication aliases | => implies <=> iff | Supported Implication aliases | Rendered Matches the expected notation | Logical implication variants | |
Set aliases | nn cap nnn bigcap uu cup uuu bigcup | Supported Set intersection and union aliases | Rendered Matches the expected notation | Set operation coverage | |
Membership aliases | in !in notin sub subset sube subseteq | Supported Membership and subset aliases | Rendered Matches the expected notation | Set relation coverage | |
Superset aliases | sup supset supe supseteq | Supported Superset aliases | Rendered Matches the expected notation | Superset relation coverage | |
Relation aliases | = != ne < lt > gt <= le >= ge | Supported Equality and comparison aliases | Rendered Matches the expected notation | Comparison coverage | |
Advanced relations | ll gg -< prec -<= preceq >- succ >-= succeq | Supported Ordering relation aliases | Rendered Matches the expected notation | Relation variant coverage | |
Equivalence aliases | -= equiv ~= cong ~~ approx prop propto | Supported Equivalence and proportional aliases | Rendered Matches the expected notation | Approximation coverage | |
Arrow aliases | -> to rarr larr harr rArr lArr hArr | Supported Arrow aliases | Rendered Matches the expected notation | Arrow coverage | |
Advanced arrows | >-> ->> >->> |-> | Supported Tail, double-head, and mapsto arrows | Rendered Matches the expected notation | Special arrow coverage | |
Geometry aliases | /_ angle /_\ triangle diamond square frown | Supported Geometry aliases | Rendered Matches the expected notation | Shape coverage | |
Left floors and ceilings | |__ lfloor |~ lceiling | Supported Left floor and ceiling aliases | Rendered Matches the expected notation | Fence-like aliases | |
Right floors and ceilings | __| rfloor ~| rceiling | Supported Right floor and ceiling aliases | Rendered Matches the expected notation | Fence-like aliases | |
Number sets | CC NN QQ RR ZZ | Supported Number set aliases | Rendered Matches the expected notation | Blackboard-style set names | |
Dots and constants | oo infty aleph :. therefore :' because vdots ddots | Supported Constants, therefore, because, and dots | Rendered Matches the expected notation | Miscellaneous alias coverage | |
UnitsCommon unit strings that use the same parser as variable glyphs. | |||||
Length Unit preview | mm | Supported Plain unit word | Rendered Matches the expected notation | Base unit display | |
Area Unit preview | mm^2 | Supported Unit with power | Rendered Matches the expected notation | Area unit display | |
Volume Unit preview | m^3 | Supported Unit with power | Rendered Matches the expected notation | Volume unit display | |
Stress Unit preview | N/mm^2 | Supported Fractional compound unit | Rendered Matches the expected notation | Stress unit display | |
Moment Unit preview | kN*m | Supported Unit product with operator token | Rendered Matches the expected notation | Moment unit display | |
Acceleration Unit preview | m/s^2 | Supported Fractional powered unit | Rendered Matches the expected notation | Acceleration unit display | |
Percent unit Unit preview | % | Literal fallback Percent character renders literally | Rendered Matches the expected notation | Percent fallback | |
Degree abbreviation Unit preview | degC | Literal fallback Plain text abbreviation; no degree-symbol alias | Rendered Matches the expected notation | Temperature unit fallback | |
Malformed sheet unit Unit preview | N/ | Error fallback FormulaSheet optional unit cell renders a red question mark | Parse error MISSING_FRACTION_DENOMINATOR at 2 | Malformed supplied units remain visible | |
Regression GuardsCases that previously lost token boundaries, scalar roles, or complete Unicode characters. | |||||
Slash alias after operand | a // b | Supported Division alias remains an operator after another token | Rendered Matches the expected notation | Longest punctuation alias matching | |
Angle alias after operand | a /_ b | Supported Angle alias remains an operator after another token | Rendered Matches the expected notation | Fraction boundary handling | |
Triangle alias after operand | a /_\ b | Supported Triangle alias remains one operator after another token | Rendered Matches the expected notation | Longest geometry alias matching | |
Conjunction alias after operand | a ^^ b | Supported Conjunction alias remains an operator after another token | Rendered Matches the expected notation | Superscript boundary handling | |
Bottom alias after operand | x _|_ y | Supported Bottom alias remains an operator after another token | Rendered Matches the expected notation | Subscript boundary handling | |
Word beginning ox | oxygen | Supported One variable word | Rendered Matches the expected notation | Alias prefixes do not split words | |
Word beginning oo | ooops | Supported One variable word | Rendered Matches the expected notation | Alias prefixes do not split words | |
Word beginning xx | xxValue | Supported One variable word | Rendered Matches the expected notation | Alias prefixes do not split words | |
Unsupported command with alias prefix | \ox | Literal fallback One literal command identifier | Rendered Matches the expected notation | Unsupported command text stays intact | |
Scalar roles | 123 + sum "x" | Supported Number, operators, and quoted text keep separate MathML roles | Rendered Matches the expected notation | MathML token semantics | |
Supplementary Unicode scalar | 𝛼 | Supported One complete mathematical alpha character | Rendered Matches the expected notation | Unicode scalar preservation | |
Intentional Literal FallbackUnsupported commands and legacy grouping forms render as text instead of becoming formula structure. | |||||
Command word | sqrt x | Literal fallback Command-looking word renders as text | Rendered Matches the expected notation | No unary command behavior | |
Backslash command | \sqrt x | Literal fallback Backslash command renders as text | Rendered Matches the expected notation | Unsupported backslash commands | |
Binary command text | frac a b | Literal fallback Command-looking word renders as text | Rendered Matches the expected notation | No binary command behavior | |
Root command text | root 3 x | Literal fallback Command-looking word renders as text | Rendered Matches the expected notation | No root command behavior | |
Color command text | color red x | Literal fallback Command-looking words render as text | Rendered Matches the expected notation | No style command behavior | |
Font command text | bb x | Literal fallback Command-looking word renders as text | Rendered Matches the expected notation | No font command behavior | |
Old angle group | (:a+b:) | Literal fallback Colon markers render literally inside visible parentheses | Rendered Matches the expected notation | Legacy marker fallback | |
Old brace marker group | {:a+b:} | Literal fallback Brace group is structural; colon markers render literally | Rendered Matches the expected notation | Legacy grouping fallback | |
Comma sequence | a,b:c | Literal fallback Punctuation tokens render literally | Rendered Matches the expected notation | Punctuation display | |
Invalid InputsInputs that should show the renderer error fallback. | |||||
Empty expression | <empty> | Error fallback Empty input renders as red question mark | Parse error EMPTY_EXPRESSION at 0 | Missing variable name | |
Unclosed quote | "gross area | Error fallback Parser error rendered as red question mark | Parse error UNCLOSED_QUOTE at 0 | Missing closing quote | |
Only open brace | { | Error fallback Parser error rendered as red question mark | Parse error EMPTY_GROUP at 1 | Missing group content and closing brace | |
Only fraction numerator | a/ | Error fallback Parser error rendered as red question mark | Parse error MISSING_FRACTION_DENOMINATOR at 2 | Missing denominator | |
Brace without expression | {}/a | Error fallback Parser error rendered as red question mark | Parse error EMPTY_GROUP at 1 | Empty group before fraction | |