MSc thesis
- Build:
opam exec -- dune build - Run compiler on a source file:
opam exec -- dune exec rizzoc ./examples/first.rizz
To run the LSP server, use the command:
- LSP server:
opam exec -- dune exec rizzolsp
The VS Code extension is located in the vscode-rizz-lsp folder.
It can easily be installed with
cd vscode-rizz-lsp && npm install && cd ..
npm run ext:install
This installs the dependencies, builds the project and then installs the extension locally.
To compile the bundle with no VSIX:
npm run compile
For development you might want to run the extension in a debug session, which allows you to set breakpoints and inspect variables in the LSP server code. To do this, you can run the debug configuration Run Rizz Extension (repo root) from the repository root. This will launch a new VS Code window with the extension loaded. You can then open any .rizz file to see diagnostics, symbols, definitions, and hover information provided by the LSP server.
- Run debug config:
Run Rizz Extension (repo root). - Then open any
.rizzfile to get diagnostics, symbols, definition, and hover.
- Workspace settings in
.vscode/settings.jsonalready map*.rizzto therizzlanguage and preconfigure server command/args. - For true "just open folder and it works" without running a debug session, run the task
rizz: install local extensiononce (requirescodeCLI in PATH), then reopen VS Code.