Open tamasfe opened 2 years ago
/cc @schungx
Actually the CLI and WASM parts are orthogonal, but we need at least one of them. With WASM the vscode extension is a lot easier to distribute, but some users might want to use the language server wherever (e.g. vim, emacs).
I think we should focus on vscode first as that's where I develop anyway, and WASM bindings are a lot easier than multi-platform builds.
I agree. We should at least get vscode working. WASM will be great.
For all others, we'd need to start distributing binaries, which will be a chore.
@tamasfe I have updated the Definitions part a bit to include types for variables/constants in generated definition files. You can pull from latest to check those.
For example, __scope__.d.rhai
would have let hello_there: string;
So far I don't see any particular problems with those types added, so I assume that it is safe...
With the current bugs fixed, I think the language server could get into its first shippable state.
Here are the steps that I think need to be done in order to properly ship it:
TODO before shipping
Steps to ship
We'll need to
rhai
and create a universal CLI that includes the language serverand then