3 ms·
I wouldn't do it like a text editor, I'd make it a structure editor aware of the grammar and only present valid alternatives at the point of entry, I would use
by kryptiskt 6y ago
I wouldn't do it like a text editor, I'd make it a structure editor aware of the grammar and only present valid alternatives at the point of entry, I would use fuzzy matching and strong types to quickly cut down the alternatives to present to the programmer. The programmer should only need to enter long stretches of text when writing comments and string literals.
In fact I may already have started working on this :-)
- agustif 6y agoSounds super cool. I sometimes imagine code as puzzle pieces you can -edit- I'd be cool to make a GUI for programming valid code with drag and drop.
- teddyh 6y agoSomething like Dasher, maybe, with only syntactically valid alternatives displaying? Somewhat akin to the “railway” syntax diagrams used in older programming manuals (still used in the SQLite manual).