livebook icon indicating copy to clipboard operation
livebook copied to clipboard

Use compilation tracers to store modules bytecode

Open josevalim opened this issue 3 years ago • 1 comments

We need to associate the module to a cell and write it to disk. The path in disk will be added to the code path. Before a cell is reevaluated, we can delete the file and purge/delete the module.

This will allow documentation and doctests to work for Livebook modules. /cc @BrooklinJazz

josevalim avatar Jun 20 '22 15:06 josevalim

Wild idea: we could use this to automatically extract doctests, run them inline, and provide direct used feedback.

josevalim avatar Aug 21 '22 22:08 josevalim

🎉🎉🎉🎉🎉🎉

BrooklinJazz avatar Nov 10 '22 17:11 BrooklinJazz