Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SpASM Multimedia LanguageNew to Visual Studio Code? Get it now.
SpASM Multimedia Language

SpASM Multimedia Language

Martin Alejandro Oviedo

|
1 install
| (0) | Free
Syntax highlighting and linting for SpASM - the multimedia/system programming language for audio, video, LLM and system programming
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SpASM Multimedia Language VS Code Extension

VS Code Extension License: MIT Version

Syntax highlighting and linting for SpASM - the multimedia/system programming language for audio, video, LLM and system programming.

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Search "SpASM Language Support" in the Extensions view
  3. Click Install

From VSIX file

  1. Download spasm-vscode-1.0.0.vsix from the releases
  2. In VS Code: Extensions → ... (ellipsis) → Install from VSIX...
  3. Select the downloaded .vsix file

🚀 Features

  • ✅ Syntax highlighting for .spasm files
  • ✅ Real-time linting with error detection
  • ✅ Dialect conflict detection (interpreter vs AOT)
  • ✅ Omninum warnings (not supported in AOT compiler)
  • ✅ Code snippets for common SpASM constructs
  • ✅ Support for both dialects of SpASM

💻 Usage

The extension activates automatically when you open a .spasm file.

Available Commands

Shortcut Command Description
F8 SpASM: Check Syntax Check current file syntax
Ctrl+Shift+P "SpASM: Check Syntax" Same via command palette

Settings

{
  "spasm-vscode.enableLinting": true,
  "spasm-vscode.checkOmninumAOT": true,
  "spasm-vscode.showDialectHints": true
}

📝 Syntax

Interpreter Dialect

const PI = 3.14;
var counter = 0;

func factorial(n) {
    if (n <= 1) { return 1; }
    return n * factorial(n - 1);
}

print("Hello");
print_int(factorial(5));
end;

AOT Dialect (Compiled)

programa "mi_programa"

func doble(x) {
    return x * 2;
}

main {
    let total = 0;
    assign total = doble(21);
    print_int(total);
}

🔍 Error Detection

The extension shows warnings for:

  1. Dialect conflicts: Having programa and end; in the same file
  2. Omninum in AOT: Constants like PI, E, PHI, TAU don't compile in AOT mode
  3. Incomplete structures: Possible missing ; or braces

📁 Project Structure

spasm-vscode/
├── package.json          # Extension manifest
├── README.md             # This file
├── LICENSE               # MIT License
├── CHANGELOG.md          # Changelog
├── language-configuration.json  # Language settings
├── syntax/
│   └── spasm.tmLanguage.json    # TextMate grammar
├── snippets/
│   └── spasm.code-snippets      # Code snippets
├── icons/
│   ├── icon.svg                # Vector icon
│   └── icon.png                # PNG icon (128x128)
├── dist/
│   └── extension.js            # Extension code
└── examples/
    ├── test.spasm              # AOT example
    └── test_interpreter.spasm  # Interpreter example

📋 Changelog

[1.0.0] - 2026-11-24

  • Initial release
  • Syntax highlighting for SpASM language (both interpreter and AOT dialects)
  • Real-time linting with error detection
  • Detection of dialect conflicts (interpreter vs AOT)
  • Warnings for omninum usage in AOT mode
  • Code snippets for common SpASM constructs
  • Support for string escapes, comments, and blocks
  • Keyword highlighting for all SpASM builtins
  • Language configuration for brackets and comments

🏷️ Snippets Included

Prefix Description
prog Programa AOT básico
progi Programa intérprete
ifsp If statement
ifelse If-else statement
whilesp While loop
forsp For loop
func Function definition
select Select/case structure
println Print statement
spawn Spawn thread
buffer Create buffer
reslife Resource lifecycle
omni Omninum constants
channel Channels communication
atomic Atomic variable

📚 Credits

  • Language SpASM: NuToys Audio / SpAMS-Oficial
  • Original Extension: Martin Alejandro Oviedo
  • Maintained by: Asistente IA (OpenCode) alias El teclas :P
  • Extension: Part of the SpASM ecosystem
  • Reference: F:\SpAMS-Oficial\SPASM_QUICKREF.md

📜 License

MIT License - Free for use in the SpASM ecosystem

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft