Cellme
The record type for CellContainer - a CcRecord should contain an id type, a container type 'cc', and implementations of all these functions.
a type that contains a CcRecord.
when a cell program runs, it has access to CellState, the state of all cells.
cell status may indicate that a cell is blocked because of another cell that needs to finish its program.
the possible outcomes of running all cell programs to completion.
possible results from a PSideEffectorFn
The type signature of side effector functions in our cellme language. For now there's only one, 'cv'.
the possible run states for a cell program.
the 'cv' function in our schelme script language. given a cell id, attempt to get the value of that cell from the CellState.
compile all cell programs.
does any cell have a compile error?
continue running a cell program.
just like the regular evalArgsSideEffector, except checks for PrPause from the fn.
reset the cell program, then run to completion (or blockage, anyway)
should eval all cells from the start, resulting in an updated array and result type.
eval all cells, resulting in an updated array.
run a cell from its current state to completion.
run the cell program to completion
a cell is a text-form schelme program, the compiled version of same, and the program's RunState.