A VS Code extension for the wax programming language. Provides syntax highlighting as well as IDE-like features.
wax is a tiny language designed to transpile to other languages easily. Currently supported backends: C, C++, Java, TypeScript, Python, C#, Swift, Lua, as well as directly to WebAssembly.
More about wax here, there's also an online playground.
The extension assumes that waxc
is installed in your PATH. If you use the 'run code' feature, the selected target language's compiler/interpreter is also assumed to be installed. e.g. gcc
for C/C++, or python
for Python, etc.
⌘⇧P waxc run
Supports drawing SVG output directly!
⌘⇧P waxc set target language
⌘⇧P waxc transpile
Lint result shown in status bar.
To toggle lint off, use
⌘⇧P waxc toggle lint on save
⌘⇧P waxc print syntax tree
Clone into ~/.vscode/extensions