vscode-zinc
VS Code support for the Zinc language (.zn) used in this repository.
Features
- Syntax highlighting (TextMate grammar)
- Bracket/comment configuration (
# line comments, ### ... ### block comments)
- Simple semantic highlighting for identifiers bound with
is
- Basic diagnostics by running
znc (parse/type errors)
- Commands:
Zinc: Lint Current File
Zinc: Build Current File
Zinc: Run Current File
Settings
zinc.compilerPath (default: build/znc)
zinc.enableDiagnostics (default: true)
zinc.diagnosticsOnSave (default: true)
Using with this repo
- Build the compiler:
make rebuild
- In VS Code, open any
.zn file (for example examples/demo.zn)
- Run
Zinc: Lint Current File (or save the file) to see diagnostics
| |