Literate programming started with Knuth in 1984 and has among its most famous descendants Jupyter and Quarto. In this talk we will showcase Nimib, a library-based approach to this problem space that takes advantage of the meta programming capabilities of Nim programming language.
Explorable Explanations is the title of an essay by Bret Victor published in 2011 that inspired people to create interactive documents to explain complex concepts. We will see how Nimib can be used to produce explorable explanations.
Nimib is the core element of Nimib-land, a collaborative open source project that provides an extensible (and growing) publishing system for text, code and its artifacts, including interactive elements.
At the end of the talk we will also mention how this approach can be adapted to Python. This will be done reusing already available Nim code (when it makes sense to do so) and it will include examples of interactive elements using PyScript.