add loop & recur back into the language: we do actually need it!--just not *pedagogically*

This commit is contained in:
Scott Richmond 2024-07-19 16:25:18 -04:00
parent 7afc32d9d1
commit 2ec95c8f33

View File

@ -11,11 +11,13 @@
"if" :if ## impl
"import" :import ## impl
"let" :let ## impl
"loop" :loop ## impl
"match" :match ## impl
"nil" :nil ## impl -> literal word
"ns" :ns ## impl
"panic!" :panic ## impl (should _not_ be a function)
"pkg" :pkg
"recur" :recur ## impl
"repeat" :repeat ## impl
"test" :test
"then" :then ## impl
@ -23,10 +25,6 @@
"use" :use ## wip
"when" :when ## impl, replaces cond
"with" :with ## impl
# removing loop & recur from the language
# they aren't necessary
# "loop" :loop ## impl
# "recur" :recur ## impl
})
(def literal-words {"true" true