-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Currently I ignore public private parameters. However with little work we can get public parameters to functions to emit when we dump the entry point to the circuit.
Care has to be taken care not to have any other functions public parameters be marked as public when we compile down the circuit however.
We can either chose to inject this in the primitive-circuit phase of the compiler
;; src/pass/pass.lisp
(-> primtitve-circuit (spc:fully-expanded-list spc:circuit) spc:prim-circuit)
(defun primtitve-circuit (terms circuit)
(~>> (spc:make-prim-circuit :name (spc:name circuit) :body terms)
(fill-in-arguments circuit)
(fill-in-output circuit)))or rather as special behavior for the main function to compile.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers