Back at it again, this time with a bit more effort
Got a pretty sweet setup going now with a simple text editor with syntax colouring and bracket matching with the help of the ScintillaNET code editor control which is pretty cool.
I've hand built the repl and so far it gets the job done but needs a lot more work to make it less error prone.
The workflow so far is to write some code in the editor then you can select it and send it to the repl for evaluation which loads it into the system. From there on you can call your functions in the repl and see the results in the CAD editor. You can just type the same in the repl as well but I mainly use it to call functions I've loaded.
It handles exceptions and syntax errors pretty well for what it is and is quite usable.
What makes this really special though is you can develop your app using the repl for testing and refactoring, no need to restart the CAD system and netload, just select and load your revised function and test again, pretty sweet!