Skip to content

Commit 11c5902

Browse files
committed
notes
1 parent 7d8355f commit 11c5902

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/compiler/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ use petgraph::graph::{DiGraph, NodeIndex};
1616
// }
1717
// ```
1818
// So we can do things like `impl Add`, `impl Mul` for variables and make them into gates?
19+
20+
// Above seems done. Now we need to have a way to unravel a collection of expressions into a
21+
// circuit that may have the same inputs and outputs as the expressions. Inputs are going to be
22+
// the terminal variables found by fully unravelling expressions and they should be named. The
23+
// fully ravelled expressions are the outputs, and they can also be named
1924
use super::*;
2025

2126
pub mod dsl;
@@ -58,4 +63,3 @@ pub struct Circuit {
5863
impl Circuit {
5964
pub fn new() -> Self { Self { gates: DiGraph::new() } }
6065
}
61-

0 commit comments

Comments
 (0)