Files
marqdo/tests/lib/fs-read.mq.md
T
cflmyandCursor 63e5be80ab Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 17:52:33 +08:00

18 lines
202 B
Markdown

---
title: fs read/exists
> lib/fs.mq.md
---
# main
*`ok` = > exists path=hello.txt *
1. `ok`
> print text=exists
2. *
> print text=missing
*`t` = > read_text path=hello.txt *
> print text=`t`