tinymo: building a tiny reactive notebook engine
marimo
Python
Reactive
Notebooks
AST
Topological Sort
How does a reactive notebook actually work? When you change one cell, how does it know which other cells to re-run — and in what order? To get a better idea, I built my own tiny engine from the first principles using only standard Python built-ins.
And what a better way to demonstrate it than inside of an actual marimo notebook!