Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ElfCodeNew to Visual Studio Code? Get it now.
ElfCode

ElfCode

Vytautas Strimaitis

|
8,365 installs
| (0) | Free
Support for the ElfCode language from Advent of Code 2018
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ElfCode Language Support for Visual Studio Code

This extension provides support for the ElfCode language from Advent of Code 2018. The actual language is described here and here. The only thing I added is the ability to add line comments, which start with a percentage sign (%).

Getting started

  1. Install the extension:
    1. Press ctrl + p
    2. Type in ext install elfcode
    3. Select the extension and click Install
  2. Create a file with extension .ec, .elf or .elfcode
  3. Start typing some code and (hopefully) enjoy some elf-y goodness

Features

The extension currently supports the following features:

Syntax highlighting

Syntax Highlighting

Code snippets

Code Snippets

Some source code validation

Validation

But why?

In the spirit of Christmas I decided to try out something new. I have never created a vscode extension before and I saw ElfCode as a pretty good opportunity to learn something new, since the language is quite simple. So I took the time to actually make this, don't judge me :)

I am also interested in actually making the code run with a debugger or something. I started looking into it but haven't had the time to finish yet. Maybe I'll come back to it a bit later.

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