byexample
byexample copied to clipboard
Jupyter as an alternative engine for Pexpect
Describe the solution you'd like https://jupyter.org/ allows the execution of code in different languages to support interactive documentation. The same engine could be used to validate the documentation.
Instead of implementing an adapter with pexpect for each language interperter, we could use Jupyter directly.
It is a long just, but it worths the try.