But some languages just won't let you do that, because they put in errors for missing returns or unused variables.
But some languages just won't let you do that, because they put in errors for missing returns or unused variables.
But you could have a compiled language where errors were limited to the function when possible, like by emitting asserts.
BABLR takes Hazel's idea and takes it about 18 steps further, potentially making embedding gaps a feature of every editor and programming language.
As long as solutions don't have a way to scale economically they'll be academic, but BABLR makes this not academic anymore.
Gaps are present in the embedded code representation, e.g. if · is a gap we would represent the result of parsing `console.log(·)` using a "gap tag" (written `<//>`) in a CSTML document that will look like this: https://gist.github.com/conartist6/75dc969b685bbf69c9fa9800c...
Syntactically invalid.
I hope someone makes a fork that lets you disable those silly errors in debug mode
Forking a large and very active project like this is a mug's game.