ENIDE Language Support
Write code in your own language. ENIDE lets you program in any human languages — the keywords adapt to you, not the other way around.
ENIDE is a programming language where reserved words are not fixed. They are defined by the human language you choose. The same program can be written in English, Portuguese, Swahili, or any of any supported languages. The structure is always identical; only the keywords change.
This extension brings full editor support for .nd files into VS Code.
Features
Syntax Highlighting
Types, variables, functions, control flow, operators, string literals, block comments, and import directives are all distinctly coloured in .nd files. The grammar is position-based, so highlighting works correctly regardless of which human language you write in.
Formats .nd files automatically on save or on demand. Because ENIDE keywords are dynamic, the formatter works entirely from structure — no reserved words are hardcoded.
- Normalises spacing around all operators (
+, -, *, /, **, ==, ===, >=, <=, …)
- Normalises comma spacing
- Normalises block braces and continuation blocks — works with
} else {, } senao {, } sonnst {, or any other language's equivalent
- Normalises import directives — works with
#include, #incluir, #inclure, or any native form
- Protects string literals and block comments from being modified
- Manages indentation depth based on
{ / } pairs
- Collapses consecutive blank lines and trims trailing whitespace
A ▶ button appears in the editor title bar whenever a .nd file is open. Click it to execute the current file using the installed ENIDE runtime — no terminal needed.
Keyboard Shortcut
Press F5 with a .nd file focused to run it instantly.
File Icon
.nd files display the ENIDE icon in the Explorer sidebar and file tabs.
Requirements
Install the ENIDE runtime before using the run button.
Download it and browse all supported languages at the official ENIDE website.
Verify the installation:
enide version
Getting Started
1. Install the ENIDE runtime (link above)
2. Find your language
enide languages
3. Create a .nd file and include your language pack
#include<english.lang>;
function greet(string name) {
print("Hello,", name);
}
greet("world");
4. Click ▶ in the title bar, press F5, or run from the terminal
enide myFile.nd
For files with accented characters or non-Latin scripts:
enide myFile.nd utf-8
Links
Licensed under GPL-3.0