Taking a break from the compiler project, but only for now. I feel the need to excerise a bit more of the of the productive side. I've had this idea, for a long, long time. And have basicly been building it in my head for the last year.
Run code in MirrorCode and transpile JS code to AST and compare to answer stored at AST.
But the first part is to incorporate the editor, CodeMirrior, and capture the input. That would be the definition of success.
Init app, get it running
Split page into 50% using CSS Grid, bc fancy
Put CodeMirror onto page with Elm
The Problem. I need to apply the instance of CodeMirror to the div with id “CodeEditor”
After Importing CodeMirror, Embedding the Elm app on the root id tag
my “CodeEditor” element is nowhere to be found.
Ellie as a template
Capture coding input and output
Evaluate that JS, safely?
Remember learning React and Redux? That was a beast