Files
marqdo/examples/loop.mq.md
T
cflmyandCursor a29bf6e97b Implement Phase I tree-walk interpreter for all examples.
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>
2026-08-04 11:41:37 +08:00

220 B

title
title
循环示例

main

倒数:

n = 3

  • n > 0

    print text=n n = n - 1

遍历篮子:

篮子 =

果
苹果
梨
  • 果

    print text=今天吃果