Rhino Language - VS Code Extension
Syntax highlighting for the Rhino programming language.
Features
- Syntax highlighting for
.rh files
- Keywords, control flow, operators
- Built-in function highlighting (crypto, I/O, arrays, binary analysis)
- Post-quantum crypto functions (Kyber, Dilithium)
- String and number literals
- Comment support (
//)
- Auto-closing brackets and quotes
- Indentation rules for blocks
Installation
From VS Code Marketplace
Search for "Rhino Language" in the Extensions panel.
Manual Installation
cd rhino-vscode
npm install -g @vscode/vsce
vsce package
code --install-extension rhino-lang-1.0.0.vsix
Example
import "crypto_utils.rh"
func encrypt_message(msg, key) {
encrypted := aes_encrypt(msg, key)
return base64_encode(encrypted)
}
message := "Hello, Rhino!"
key := sha256("secret")
result := encrypt_message(message, key)
print(result)
| |