feat(parse): bold infix expressions are ExprStmt, not calls

`` **n + 1** `` evaluates and discards (design §6.2); keep assign-first and
bare-call fallback. Explicit `` **> …** `` uses standalone bare=text rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-14 15:12:00 +08:00
1 parent 114fd53cd1
commit bccfec86ba
9 files changed
+81 -8

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
---
title: bold expression statement
description: >-
`` **n + 1** `` is an expression statement (discarded), not a call to `n`
---
# main
**n = 41**
**n + 1**
**m = n + 1**
> print text=`m`