A language server for the C0 programming language.
C0 is a C-like language used in Carnegie Mellon University's introductory imperative programming class.
This language server and accompanying VSCode extension provides features like:
- Basic syntax highlighting and bracket matching
- Inline errors (parse errors, type errors, etc)
- Jump-to-definition for variables, structs, functions, typedefs
- Hover for info: expression type, function signature, etc
See architecture.md for more information.
A more full-featured and well-supported alternative is available.
rustc
+cargo
https://rustup.rsnode
+npm
https://nodejs.org
Probably with a git clone
or a ZIP download.
- In the repo root, run
cargo build
. - In
extensions/vscode
, runnpm install && npm run build
.
- Open the repo root in VSCode.
- Go to the Run tab (play button with bug).
- Select 'extension' at the top.
- Press the green play button.
- When a new VSCode window opens with "Extension Development Host" in the title, open a new directory in that window.
- Put some C0 files in the directory to try out the language server.