Anzer Language Support
Anzer is an authoring language that compiles .anzer files into HTML. This extension adds language support to VS Code and runs the separately installed Anzer compiler.
Features
The extension provides syntax highlighting, brace matching, indentation, and automatic closing for braces and double quotes. Use the Command Palette to create .anzer files, check and compile them, and open the generated HTML.
Install
In desktop VS Code 1.74 or later, open the Extensions view and install Anzer Language Support by AnzerAyoob. If you have a local VSIX, open the … menu, select Install from VSIX…, and choose the file.
Install the compiler using Python.
python -m pip install anzer
Verify that anzer --help works with Anzer on your PATH. Restart VS Code if you added the Python scripts directory to PATH.
Create and preview a page
Open the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on macOS) and use these commands.
| Command |
What it does |
| Anzer: New File |
Asks for a filename and folder. Enter hello to create and open hello.anzer with a valid starter document. Existing files are preserved. |
| Anzer: Check Current File |
Saves the active source and runs anzer check. Look in View → Output → Anzer for compiler diagnostics. |
| Anzer: Compile Current File |
Saves the source and runs anzer compile. The compiler writes a sibling .html file and refuses to replace an existing destination. |
| Anzer: Open Generated HTML |
Opens the existing sibling HTML file in your default browser. Compile first if the file is missing. |
You can also create hello.anzer in a writable folder and paste in this starter document.
<anzer start>
anzer make title: text="Hello, Anzer!";
<anzer end>
If the compiler asks for trusted HTML acknowledgement, the extension shows a confirmation. Embedded raw HTML can execute scripts when the output is opened and can affect the entire page. Approve the compilation only if you trust the embedded HTML.
Current limitations
Commands operate on local files in desktop VS Code. The compiler must be installed separately and available on PATH. Compilation uses the compiler's default sibling HTML destination. There is no live preview, language server, or automatic compilation. Diagnostics are displayed in the Anzer output channel when a command runs.
Anzer compiler and language specification · Anzer on PyPI