4 ms·
Hard agree. Even without going deep on a "serious language" there's a universe of DSLs that's mostly unexplored. Debuggers are the outlier in your group but th
by _kb 2y ago
Hard agree. Even without going deep on a "serious language" there's a universe of DSLs that's mostly unexplored.
Debuggers are the outlier in your group but there's not exactly a void for those other wishes. As just one slice, building a tree-sitter [1] grammar gives the basis for good editor integration [2], formatters [3], structural diff [4] and other dev tools. Similarly if you're expressing some form of program, targeting LLVM IR connects your creation with a fairly extensive compiler toolchain.
Language agnostic tooling exists, but there still needs to be some abstraction layer and a mapping to that.
[1]: https://tree-sitter.github.io/ https://tree-sitter.github.io/
[2]: https://zed.dev/blog/syntax-aware-editing https://zed.dev/blog/syntax-aware-editing
[3]: https://topiary.tweag.io https://topiary.tweag.io
[4]: https://difftastic.wilfred.me.uk https://difftastic.wilfred.me.uk