remove loop & recur from the language
This commit is contained in:
parent
d4adc1d912
commit
7afc32d9d1
|
@ -1,7 +1,8 @@
|
|||
(def reserved-words
|
||||
"List of Ludus reserved words."
|
||||
## see ludus-spec repo for more info
|
||||
{"as" :as ## impl
|
||||
{
|
||||
"as" :as ## impl
|
||||
"box" :ref
|
||||
"do" :do ## impl
|
||||
"else" :else ## impl
|
||||
|
@ -10,20 +11,22 @@
|
|||
"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
|
||||
"true" :true ## impl -> literal word
|
||||
"use" :use ## wip
|
||||
"with" :with ## impl
|
||||
"when" :when ## impl, replaces cond
|
||||
"repeat" :repeat ## syntax sugar over "loop": still unclear what this syntax could be
|
||||
"test" :test
|
||||
"with" :with ## impl
|
||||
# removing loop & recur from the language
|
||||
# they aren't necessary
|
||||
# "loop" :loop ## impl
|
||||
# "recur" :recur ## impl
|
||||
})
|
||||
|
||||
(def literal-words {"true" true
|
||||
|
|
Loading…
Reference in New Issue
Block a user