An open API service indexing awesome lists of open source software.

https://github.com/nickymarino/cpu12-vscode

CPU12 Assembly Language Extension for Visual Studio Code
https://github.com/nickymarino/cpu12-vscode

assembly-language textmate vscode-extension

Last synced: 6 months ago
JSON representation

CPU12 Assembly Language Extension for Visual Studio Code

Awesome Lists containing this project

README

          

# cpu12-vscode

CPU12 assembly language support for Visual Studio Code

## Features

![Syntax example](https://raw.githubusercontent.com/heztet/cpu12-vscode/master/example.png)

This package includes the grammar for the Motorola CPU12 core instruction set, defined in the [CPU12/CPU12RM manual](http://www.nxp.com/docs/en/reference-manual/CPU12RM.pdf).

Modified from Zachary Polikarpus' [Atom library](https://github.com/zpolygon95/language-cpu12).

## Creating a language extension

There's plenty of helpful examples in the Visual Code documentation. Start with their [extension example](https://code.visualstudio.com/docs/extensions/example-hello-world) and look at other tmLanguage.json files to get an idea of how to write them. The names in the grammar can be found in the [TextMate manual](https://manual.macromates.com/en/language_grammars). To debug your extension, press `F5` and load an example file. Use the `Developer: Inspect TM scopes` tool in the Command Pallete to debug your settings.