PRiTE language support for Visual Studio Code: syntax highlighting, a Run button, and snippets for the PRiTE programming language.
Write Easy, Work Strong — Fast, Easy, Safe. PRiTE is a light (1.8MB) programming language built in Rust.
Features
Syntax highlighting for .prite files
Run button in the editor title bar
Language configuration (comments, brackets, auto-closing pairs)
Snippets for common PRiTE constructs
Installation
Open VS Code
Open Extensions (Cmd/Ctrl + Shift + X)
Search PRiTE
Click Install
Or install the .vsix package:
code --install-extension prite-0.0.1.vsix
Usage
Create a file with the .prite extension, e.g. hello.prite.
Write your PRiTE code.
Click the Run PRiTE File button (▶) in the editor title bar, or run in a terminal:
prite run hello.prite
Code Example
let name = "World"
print "Hello, " + name
let a = 7
let b = 5
if a > b {
print a + " is greater than " + b
} else {
print b + " is greater than or equal to " + a
}
func status {
print "Health ready"
}
for i in range(5) {
print "reward " + i
}
Commands
Command
Description
PRiTE: Run PRiTE File
Save and run the current .prite file in a terminal