nyx-systems — VS Code extension
Syntax highlighting and editor support for Nyx, the zero-GC systems programming
language by Simeon Bala / 9jaonCloud Engineering.
🌐 https://nyx.9jaoncloud.com.ng
⚠️ Which "Nyx" is this?
This extension is for the Nyx systems language (nyxc compiler, NyxOS, Nyx Mobile OS).
It is not for NyxCode (nyxcode.io / heynyx.dev), an unrelated web full-stack
DSL that also happens to use the .nyx extension. See the project README for the full
comparison.
|
Nyx (this extension) |
NyxCode (unrelated) |
| Domain |
Systems / OS / embedded / real-time |
Web full-stack / AI generation |
| Compiler |
nyxc |
nyx (npm @fabudde/nyxcode) |
| Owner |
Simeon Bala — 9jaonCloud Engineering |
Fabian Budde |
Install from source
cp -r nyx-systems ~/.vscode/extensions/nyx-systems-0.1.0
# then reload VS Code
Package for the Marketplace
npm install -g @vscode/vsce
cd nyx-systems
vsce package # produces nyx-systems-0.1.0.vsix
vsce publish # publishes as publisher "9jaoncloud"
Publishing requires a Marketplace personal access token from the 9jaoncloud publisher
account.
What's included
| File |
Purpose |
package.json |
Manifest — declares .nyx, scope source.nyx, first-line #!/usr/bin/env nyxc |
language-configuration.json |
Comments, brackets, auto-close pairs, folding |
syntaxes/nyx.tmLanguage.json |
TextMate grammar (source.nyx) |
snippets/nyx.json |
Snippets for main, module, struct, region, nursery, @test |
Grammar coverage
Keywords are taken directly from nyxc/lexer.nyx:
- Control:
if else while for in return match await yield break continue
- Declarations:
fn struct enum trait impl module import let mut
- Modifiers:
pub export extern async unsafe defer
- Literals:
true false null self Self
- Nyx-specific:
region nursery isolate spawn transfer parallel (highlighted distinctly)
- Primitives:
i8–i128, u8–u128, usize, isize, f32, f64, bool, char, str, String, void
- Also handles:
extern "C" { … } FFI blocks, @annotations, generics (Foo<T>),
pointer types (*void), hex/binary/float/underscored numbers.
- Linguist claim walkthrough:
../linguist-claim/README.md
| |