aboutsummaryrefslogtreecommitdiff
path: root/doc/code
diff options
context:
space:
mode:
Diffstat (limited to 'doc/code')
-rw-r--r--doc/code/pangemma.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/code/pangemma.md b/doc/code/pangemma.md
index fe86f3f..a5e969b 100644
--- a/doc/code/pangemma.md
+++ b/doc/code/pangemma.md
@@ -90,5 +90,18 @@ Let's start with default GEMMA behaviour and create the first cells to get to ex
We'll break down to inspecting cell levels after. The genofile cells contain a file name (string).
When the file gets read we will capture the state in a file and carry the file name of the new file forward.
-In this setup cells simply represent file names (for state). This allows us to simply read and write files in the C code.
+In this setup cells simply represent file names (for state).
+This allows us to simply read and write files in the C code.
Later, when we wire up new propagators we may carry state in memory. The whole point of using this approach is that we really don't have to care!
+
+Our first simple implementation of the cell will simply contain a string referring to a file.
+Cells can be work in progress and incrementally improved.
+
+## Create propagators
+
+A propagator contains a list of inputs and an output cell. So we wire up the graph by adding inputs to propagators.
+Every propagator has state (too). I.e. it may be idle, computing and done.
+
+## The runner
+
+The runner visits the list of propagators and checks wether the inputs are complete and whether they have changed. On change computation has to happen updating the output cell.