Update reserved words list & impl
This commit is contained in:
parent
0939304518
commit
f419c390af
|
@ -18,32 +18,40 @@
|
||||||
"if" ::token/if ;; impl
|
"if" ::token/if ;; impl
|
||||||
"import" ::token/import ;; impl
|
"import" ::token/import ;; impl
|
||||||
"let" ::token/let ;; impl
|
"let" ::token/let ;; impl
|
||||||
"loop" ::token/loop
|
"loop" ::token/loop ;; impl
|
||||||
"match" ::token/match ;; impl
|
"match" ::token/match ;; impl
|
||||||
"nil" ::token/nil ;; impl
|
"nil" ::token/nil ;; impl
|
||||||
"ns" ::token/ns ;; impl
|
"ns" ::token/ns ;; impl
|
||||||
"recur" ::token/recur
|
"recur" ::token/recur ;; impl
|
||||||
"ref" ::token/ref ;; impl
|
"ref" ::token/ref ;; impl
|
||||||
"then" ::token/then ;; impl
|
"then" ::token/then ;; impl
|
||||||
"true" ::token/true ;; impl
|
"true" ::token/true ;; impl
|
||||||
"with" ::token/with ;; impl
|
"with" ::token/with ;; impl
|
||||||
|
|
||||||
;; below here, probable
|
;; below here, probable
|
||||||
"data" ::token/data
|
;; actor model/concurrency
|
||||||
"receive" ::token/receive
|
"receive" ::token/receive
|
||||||
"repeat" ::token/repeat
|
|
||||||
"self" ::token/self
|
"self" ::token/self
|
||||||
"send" ::token/send
|
"send" ::token/send
|
||||||
"spawn" ::token/spawn
|
"spawn" ::token/spawn
|
||||||
"test" ::token/test
|
|
||||||
"to" ::token/to
|
"to" ::token/to
|
||||||
|
;; type system
|
||||||
|
"data" ::token/data
|
||||||
|
;; others
|
||||||
|
"repeat" ::token/repeat ;; syntax sugar over "loop"
|
||||||
|
"test" ::token/test
|
||||||
"when" ::token/when
|
"when" ::token/when
|
||||||
;; below here, possible
|
|
||||||
|
;; below here, possibly not
|
||||||
|
;; generators (sugar over actors?)
|
||||||
"gen" ::token/gen
|
"gen" ::token/gen
|
||||||
|
"yield" ::token/yield
|
||||||
|
;; event loop/concurrency
|
||||||
"defer" ::token/defer
|
"defer" ::token/defer
|
||||||
|
"wait" ::token/wait
|
||||||
|
;; vars
|
||||||
"mut" ::token/mut
|
"mut" ::token/mut
|
||||||
"var" ::token/var
|
"var" ::token/var
|
||||||
"wait" ::token/wait
|
|
||||||
"yield" ::token/yield
|
|
||||||
})
|
})
|
||||||
|
|
||||||
(defn- new-scanner
|
(defn- new-scanner
|
||||||
|
|
Loading…
Reference in New Issue
Block a user