diku-dk / futhark-vscode

VS Code extension for Futhark
https://marketplace.visualstudio.com/items?itemName=DIKU.futhark-vscode
ISC License
12 stars 2 forks source link

REPL support #2

Open athas opened 2 years ago

athas commented 2 years ago

Some language modes seem to have built-in REPL support. Maybe worth considering. futhark repl shouldn't be difficult to wrangle.

haoranpb commented 2 years ago

Find something in HLS https://github.com/haskell/haskell-language-server/issues/477, but it sounds complicated.

It shouldn't be hard to implement something that creates a terminal and calls futhark repl on launch.

athas commented 2 years ago

It certainly doesn't need to be as complicated as for HLS (e.g. no reason to run the REPL as part as the server). Maybe running futhark repl in a terminal is fine.