Handle walk builtin as a loop expression (#86)

The walk builtin generates values and implicitly creates a loop over the values.
Hoist walk calls as loops and handle them. Also handle cases where return value
is bound to an extra parameter.

Closes #83
This commit is contained in:
Anand Krishnamoorthi
2024-01-01 15:16:57 -08:00
committed by GitHub
parent d2eb3ecd1f
commit b470c3fb7f
3 changed files with 168 additions and 67 deletions
+3 -1
View File
@@ -76,6 +76,7 @@ partialobjectdoc
partialsetdoc
planner-ir
rand
reachable
regexfind
regexfindallstringsubmatch
regexisvalid
@@ -108,4 +109,5 @@ units
urlbuiltins
uuid
varreferences
virtualdocs
virtualdocs
walkbuiltin