AeThex Language — VS Code Extension
Syntax highlighting, snippets, and compile commands for .aethex files.
Features
- Syntax highlighting — keywords, strings, numbers, comments, operators, function calls
- Code snippets —
reality, journey, when, import, platform, notify, reveal, and more
- Bracket matching & auto-close —
{}, [], (), ""
- Compile commands — right-click any
.aethex file to compile to any target
Compile commands
| Command |
Output |
AeThex: Compile to JavaScript |
.js |
AeThex: Compile to Roblox (Lua) |
.lua |
AeThex: Compile to UEFN (Verse) |
.verse |
AeThex: Compile to Unity (C#) |
.cs |
Access via the Command Palette (Ctrl+Shift+P) or right-click in an .aethex file.
Requires @aethex.os/cli installed globally:
npm install -g @aethex.os/cli
Example
# Greeting reality
reality Greeter {
journey greet(name) {
let message = "Hello, " + name
notify(message)
reveal message
}
}
platform roblox {
# Roblox-specific initialization
let player = game.Players.LocalPlayer
Greeter.greet(player.Name)
}
Snippets
| Prefix |
Inserts |
reality |
Reality block |
journey |
Journey function |
let |
Variable declaration |
when |
Conditional block |
whenelse |
When/otherwise block |
import |
Import statement |
platform |
Platform-specific block |
notify |
Notification call |
reveal |
Return value |
sync |
Sync across platforms |
Install
Search "AeThex" in the VS Code Extensions Marketplace, or:
code --install-extension AeThex.vscode-aethex
Links
| |