5 ms·
> Textual syntax can be implemented a layer up, if the input to the interpreter/compiler is not text but a data structure. If you designed the languages and in
by Hendrikto 3y ago
> Textual syntax can be implemented a layer up, if the input to the interpreter/compiler is not text but a data structure.
If you designed the languages and interpreters/compilers around it. Neither Python nor Javascript are, though.
- fiddlerwoaroof 3y agoMy point isn’t that existing languages are designed this way, but it wouldn’t be hard to retrofit this onto an existing language. Especially one like JavaScript that already has relatively widely-used transpilers