Aside: is it possible to make a REPL as good as Fish's that is language agnostic assuming some (hopefully small) interoperability layer?
I.e. configuring your prompt, history, syntax highlighting, autosuggestions?
I.e. configuring your prompt, history, syntax highlighting, autosuggestions?
Reposted from
Julia
Yeah, that's true. I feel like if you made a really good scripting language and then a sick REPL for it it would be good.
I want a sick scripting language with fish's REPL for instance.
I want a sick scripting language with fish's REPL for instance.
Comments
Syntax highlighting will always depend on the language, but if it’s some form of LL1 or LR1 it should be feasible.
For suggestions you can have a callback engine.
In short: yes, but more work.