diff options
| author | azidar | 2015-02-18 08:24:20 -0800 |
|---|---|---|
| committer | azidar | 2015-02-18 08:24:20 -0800 |
| commit | afde65773fc7b19dd99e0c65f718a96d0466541b (patch) | |
| tree | 6c46ae062b54cfcedbf39271bb223a4b2a81439a /notes/notes.02.13.15.txt | |
| parent | 4f68f75415eb89427062eb86ff21b0e53bf4cadd (diff) | |
Reimplemented to-working-ir. Changed Command to Stmt. Modified printing of IR to match parser.
Diffstat (limited to 'notes/notes.02.13.15.txt')
| -rw-r--r-- | notes/notes.02.13.15.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/notes/notes.02.13.15.txt b/notes/notes.02.13.15.txt index 8d9ee630..41329d20 100644 --- a/notes/notes.02.13.15.txt +++ b/notes/notes.02.13.15.txt @@ -11,3 +11,16 @@ a and b a or b a as T +questions: +1. explain curly braces in + print{o, _} $ + match(k) : + (k:RegKind) : "reg:" + My guess is you are passing in a different function depending on the type of k, so you need to lazily evaluate the print, which signifies the {}'s. +2. explain where in + Circuit(modules*, main(c)) where : + val modules* = + for m in modules(c) map : + Module(name(m), ports(m), to-command(body(m))) + My guess is you are again evaluating modules* before Circuit, so you are passing in modules lazily? +3. difference between defn and defmethod? |
