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 (%
).
- Install the extension:
- Press
ctrl + p
- Type in
ext install elfcode
- Select the extension and click
Install
- Press
- Create a file with extension
.ec
,.elf
or.elfcode
- Start typing some code and (hopefully) enjoy some elf-y goodness
The extension currently supports the following features:
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.