VS Code Extensions
A

Algo-C

by PrestonHager

Syntax highlighting for the Algo-C language

Downloads

18

Rating

— (0)

Version

0.1.0

Last updated

Apr 26, 2026

Syntax highlighting support for the Algo-C language used in this project.

Features

  • Highlights Algo-C keywords from algoc.l
  • Highlights // line comments
  • Highlights string and numeric literals
  • Highlights operators and punctuation
  • Supports .algoc files (and .al as currently configured)

Install Locally

  1. Install dependencies for packaging:
    • Node.js (LTS)
    • npm install -g @vscode/vsce
  2. Package the extension from this folder:
    • vsce package
  3. Install the generated .vsix:
    • code --install-extension algoc-syntax-0.1.0.vsix

Publish to Marketplace

  1. Create a publisher at Visual Studio Marketplace.
  2. Create an Azure DevOps PAT with Marketplace publish permissions.
  3. Login:
    • vsce login prestonhager
  4. Publish:
    • vsce publish
    • or bump + publish: vsce publish patch

Language Details

The grammar is defined in:

  • syntaxes/algoc.tmLanguage.json
  • language-configuration.json

Token source of truth is your lexer:

  • algoc.l

Keep keyword/operator patterns in the TextMate grammar synchronized with lexer changes.

License

GPL-3.0-only. See LICENSE.

Related extensions