Add diagnostics spans, CLI/view input feeding, and len/str/int builtins.

Unify bytecode errors with path:line:col, support --stdin-file and live view preset stdin, and ship the S0 standard library with gold coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-04 17:26:09 +08:00
1 parent 31a4b69bbd
commit 30cd39fd8f
25 files changed
+964 -111

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
---
title: bad int
---
# main
*`x` = > int not-a-number*
+9
View File
@@ -0,0 +1,9 @@
---
title: division by zero
---
# main
*`x` = 1 / 0*
> print text=`x`