Thinking About DaS REPLs
2024-11-01
I don’t know how to do this with current technology, and, am open to suggestions...
First Step
I want to display (embed?)
A draw.io editor
A button
An output window (stdout, console.log, ...)
Every time the “Do it” button is pressed, I want to run the Eval code and display the results.
Aside: It would be nice to run the REPL loop every time any change was made in the draw.io editor, but, that sounds hard-to-do.
Second Step
Embellish the system by displaying 4 probe outputs. Nothing special, just a bunch of smaller console outputs.
The “probe” parts (named “?A”, “?B”, “?C” and “?”, respectively) don’t write to stdout but write to their respective windows (I don’t know what this means, yet - I’m open to suggestions).
The probes and console output are “windows” and are resizable and reposition-able to suit the user (a developer).
The IDE - from the developer’s perspective - consists of 6 windows
draw.io editor + “Do it” button
Console output
Probe “?A”
Probe “?B”
Probe “?C”
Probe “?”
See Also
References: https://guitarvydas.github.io/2024/01/06/References.html
Blog: https://guitarvydas.github.io
Videos: https://www.youtube.com/@programmingsimplicity2980
Discord: https://discord.gg/qtTAdxxU
Leanpub: [WIP] https://leanpub.com/u/paul-tarvydas
Gumroad: https://tarvydas.gumroad.com
Twitter: @paul_tarvydas



