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>
This commit is contained in:
1 parent
69b626e919
commit
a29bf6e97b
12 files changed
+1791
-61
No files matched your search
+2
-2
@@ -4,7 +4,7 @@ title: 循环示例
|
||||
|
||||
# main
|
||||
|
||||
## while:倒数
|
||||
倒数:
|
||||
|
||||
*`n` = 3*
|
||||
|
||||
@@ -12,7 +12,7 @@ title: 循环示例
|
||||
> print text=`n`
|
||||
*`n` = `n` - 1*
|
||||
|
||||
## foreach:遍历篮子
|
||||
遍历篮子:
|
||||
|
||||
`篮子` =
|
||||
|
||||
|
||||
Reference in new issue
Block a user