Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>WACC Language SupportNew to Visual Studio Code? Get it now.
WACC Language Support

WACC Language Support

Taichi Maeda

|
99 installs
| (0) | Free
WACC language support developed by 2022-23 WACC Group 54
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WACC Language Support

This extension provides support for the WACC language, a simple variant of the WHILE programming language designed for COMP50006 Compilers course at Imperial College London.

Screenshot

Quickstart

  1. Install the extension.
  2. You're done - the extension comes bundled with our compiler!

Features

  • Commands to run the reference compiler from VSCode.
    • Check current WACC file (wacc-lang.check).
    • Compile current WACC file (wacc-lang.compile).
    • Execute current WACC file (wacc-lang.execute).
  • Syntax and semantic highlighting.
  • Providing code diagnostics (error and warnings).
  • Rename support.
  • Hover content displaying the symbol defintion.
  • Signature help displaying the function definition.
  • Frequency-based auto-completions for keywords and identifiers.
  • Finding the definition of a symbol.
  • Finding all references of a symbol.
  • Finding all symbols in a document.
  • Document formatting (beta).
  • Selection-based document formatting (beta).

Issues

  • The document formatter is still in beta stage and is known to have several bugs.
  • The semantic highlighting can be slow for large files. We are currently working hard so that it can make updates incrementally. If it turns out too slow for your use case, try disabling semantic highlighting by adding the following configuration in settings.json:
"[wacc]": {
  "editor.semanticHighlighting.enabled": false
}

Release Notes

0.0.1 17/03/2023

Released the first version of the extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft