First vau-involved partial evals working!
This commit is contained in:
@@ -8,17 +8,22 @@
|
||||
_ (println "Stripped: " stripped)
|
||||
fully_evaled (eval stripped)
|
||||
_ (println "Fully evaled: " fully_evaled)
|
||||
_ (if (combiner? fully_evaled) (println "..and called " (fully_evaled 1337)))
|
||||
_ (println)
|
||||
) fully_evaled))
|
||||
|
||||
simple_add (read-string "(+ 1 2)")
|
||||
vau_with_add (read-string "(vau (x) (+ 1 2))")
|
||||
vau_with_add_called (read-string "((vau (x) (+ 1 2)) 4)")
|
||||
vau_with_passthrough (read-string "((vau (x) x) 4)")
|
||||
vau_with_no_eval_add (read-string "((vau (x) (+ 1 2 x)) 4)")
|
||||
vau_with_add_p (read-string "(vau de (x) (+ (eval x de) (+ 1 2)))")
|
||||
vau_with_add_p_called (read-string "((vau de (x) (+ (eval x de) (+ 1 2))) 4)")
|
||||
_ (test-case simple_add)
|
||||
_ (test-case vau_with_add)
|
||||
_ (test-case vau_with_add_p)
|
||||
_ (test-case vau_with_add_called)
|
||||
_ (test-case vau_with_add_p_called)
|
||||
_ (test-case vau_with_passthrough)
|
||||
_ (test-case vau_with_no_eval_add)
|
||||
;_ (test-case vau_with_add_p)
|
||||
;_ (test-case vau_with_add_p_called)
|
||||
) nil))
|
||||
|
||||
Reference in New Issue
Block a user