Add marqdo debug (breakpoints/step/locals), restore view as docs with function search, and emphasize OKF-aligned knowledge-base direction.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bind `lang fences like formulas, run them via local interpreters, polish live-view code cards, and refresh bilingual welcome docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship Num/Formula runtime, bilingual math libs, SVG plots with axes/grid, and view UX for collapsible folders plus centered plots.
Co-authored-by: Cursor <cursoragent@cursor.com>
English/Chinese user pages sit side by side; L0 builtins and lib/ text|表 dual APIs land with gold coverage. Capture/view input demos use stdin:/输入: so static export and first page load succeed.
Co-authored-by: Cursor <cursoragent@cursor.com>
Tree walk logs enter_fn/stmt/leave_fn; bytecode logs op events for print/input/call/return, paving the way for view debug pause hooks.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
End nested functions with ---/***/empty return; blank-line comment paragraphs in lex and view; brand favicon/logo; bump crate to 0.0.3.
Co-authored-by: Cursor <cursoragent@cursor.com>
Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reorganize examples into structure/keywords/errors, launch marqdo view for AST-backed browsing, and ship an M5 stack VM selectable via --backend.
Co-authored-by: Cursor <cursoragent@cursor.com>
Parse functions, calls, returns, branches, loops, tables, and imports so marqdo run passes the examples gold suite (M2–M4).
Co-authored-by: Cursor <cursoragent@cursor.com>
Document a minimal Python-inspired keyword set (print/input, True/False/None), require visible --dump-* stages, and ship working --dump-lines for .mq.md sources.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add clap-based CLI that loads .mq.md and fails loudly until eval exists; pin deps for Cargo 1.81 and verify with an integration test.
Co-authored-by: Cursor <cursoragent@cursor.com>
Interpreters need lex/parse phases via hand-written descent plus a GFM crate; record the Cargo toolchain and reject C generator frontends for Marqdo.
Co-authored-by: Cursor <cursoragent@cursor.com>
Map USTC compiler phases onto lex/parse/sema plus tree-walk then bytecode, targeting marqdo run on index.mq.md rather than a native backend.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document line-scan for +/- bullets and hybrid frontmatter imports; defer choosing the full reference-implementation language.
Co-authored-by: Cursor <cursoragent@cursor.com>
Recommend TypeScript + remark for syntax validation, with spikes required before scaffolding and Rust left open for a later compiler.
Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify comment vs executable surfaces, make ---/*** optional control-flow frames, and keep implementation language undecided pending spikes.
Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce README, doc tree, and the decision that YAML manifests are tool-generated (not hand config) for deps and project docs.
Co-authored-by: Cursor <cursoragent@cursor.com>