update in-code project management
This commit is contained in:
parent
8e03707f64
commit
3903f10c8d
|
@ -456,16 +456,24 @@
|
||||||
(def last-fn (interpret last-term ctx))
|
(def last-fn (interpret last-term ctx))
|
||||||
(call-fn last-fn [prev]))
|
(call-fn last-fn [prev]))
|
||||||
|
|
||||||
|
# TODO for Computer Class
|
||||||
(defn- pkg [ast ctx] (todo "pkgs"))
|
(defn- pkg [ast ctx] (todo "pkgs"))
|
||||||
|
|
||||||
(defn- ns [ast ctx] (todo "nses"))
|
|
||||||
|
|
||||||
(defn- loopp [ast ctx] (todo "loops"))
|
(defn- loopp [ast ctx] (todo "loops"))
|
||||||
|
|
||||||
(defn- recur [ast ctx] (todo "recur"))
|
(defn- recur [ast ctx] (todo "recur"))
|
||||||
|
|
||||||
|
# TODO for 0.1.0
|
||||||
(defn- testt [ast ctx] (todo "test"))
|
(defn- testt [ast ctx] (todo "test"))
|
||||||
|
|
||||||
|
(defn- ns [ast ctx] (todo "nses"))
|
||||||
|
|
||||||
|
(defn- importt [ast ctx] (todo "imports"))
|
||||||
|
|
||||||
|
(defn- withh [ast ctx] (todo "with"))
|
||||||
|
|
||||||
|
(defn- usee [ast ctx] (todo "use"))
|
||||||
|
|
||||||
(defn- interpret* [ast ctx]
|
(defn- interpret* [ast ctx]
|
||||||
(print "interpreting node " (ast :type))
|
(print "interpreting node " (ast :type))
|
||||||
(case (ast :type)
|
(case (ast :type)
|
||||||
|
@ -500,8 +508,7 @@
|
||||||
:word (word ast ctx)
|
:word (word ast ctx)
|
||||||
:interpolated (interpolated ast ctx)
|
:interpolated (interpolated ast ctx)
|
||||||
:ref (ref ast ctx)
|
:ref (ref ast ctx)
|
||||||
# :ns (ns ast ctx)
|
:pkg (pkg ast ctx)
|
||||||
# :pkg (pkg ast ctx)
|
|
||||||
|
|
||||||
# patterned forms
|
# patterned forms
|
||||||
:let (lett ast ctx)
|
:let (lett ast ctx)
|
||||||
|
@ -519,6 +526,9 @@
|
||||||
# deferred until after computer class
|
# deferred until after computer class
|
||||||
# :with (withh ast ctx)
|
# :with (withh ast ctx)
|
||||||
# :import (importt ast ctx)
|
# :import (importt ast ctx)
|
||||||
|
# :ns (ns ast ctx)
|
||||||
|
# :use (usee ast ctx)
|
||||||
|
# :test (testt ast ctx)
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
Tracking here, before I start writing this code, the kinds of validation we're hoping to accomplish:
|
Tracking here, before I start writing this code, the kinds of validation we're hoping to accomplish:
|
||||||
|
|
||||||
* [x] ensure called keywords are only called w/ one arg
|
* [x] ensure called keywords are only called w/ one arg
|
||||||
* [ ] first-level property access with pkg, e.g. `Foo :bar`--bar must be on Foo
|
* [x] first-level property access with pkg, e.g. `Foo :bar`--bar must be on Foo
|
||||||
- [ ] accept pkg-kws
|
- [x] accept pkg-kws
|
||||||
* [x] validate dict patterns
|
* [x] validate dict patterns
|
||||||
* [x] compile string-patterns
|
* [x] compile string-patterns
|
||||||
* [x] `loop` form arity checking
|
* [x] `loop` form arity checking
|
||||||
|
|
Loading…
Reference in New Issue
Block a user