/spi-lang

VS Code syntax highlighting and code snippets for Dr Fred Brown's SPI-Tools programming language.

Primary LanguageJavaScriptMIT LicenseMIT

SPI-Tools Language Support

This extension adds syntax highlighting and code snippets for Dr Fred Brown's SPI-Tools programming language.

This extension is NOT available on the Visual Studio Code extension marketplace. To install, copy the repository directory into <user home>/.vscode/extensions.

Features

  • Linting for compilation errors (requires python3, requests and bs4)
  • Syntax highlighting including style rules
  • Snippets
    • extern - external forward declaration
    • forward - internal forward declaration
    • class - class definition
    • main - Main class definition
    • constructor - constructor definition
    • method - method definition
    • dowhile, for, while - loops
    • if, elif, else - if statement and clauses
    • switch - switch statement
    • case, default - switch case labels
    • increment - var = var + 1