LC2200 assembly code syntax package for Sublime Text 2
Find a file
2016-02-27 17:54:13 -05:00
Comments.tmPreferences initial add files 2016-01-22 19:19:31 -05:00
lc2200assembly (inst pseudoinst).JSON-tmLanguage initial add files 2016-01-22 19:19:31 -05:00
lc2200assembly (inst pseudoinst).tmLanguage initial add files 2016-01-22 19:19:31 -05:00
lc2200assembly (multi catagory).JSON-tmLanguage initial add files 2016-01-22 19:19:31 -05:00
lc2200assembly (multi catagory).tmLanguage initial add files 2016-01-22 19:19:31 -05:00
README.md add syntax selection info in usage 2016-02-27 17:54:13 -05:00

Description:

Sublime LC2200 is a Sublime Text 2 syntax package for LC2200 assembly code.

Includes:

  • commenting with "!" using the comment keyboard shortcut
  • 2 different highlighting schemes
    1. inst pseudoinst: Operations divided only into 2 catagories
      • instructions
      • pseudo-instructions
    2. multi-catagory: operations divided into multiple catagories
      • arithmetic: add, addi, nand
      • controls: beq, jalr, halt
      • loading/saving: lw, sw, la
      • misc: noop, .word

Usage:

Install (Linux):

cd .config/sublime-text-2/Packages
git clone git://github.com/HardyTaylorJ/Sublime-LC2200

To select the syntax once installed (if autoselection fails):

View -> Syntax -> Sublime-LC2200

Edit:

Edit .tmLanguage files manually

or

Edit .JSON-tmLanguage language files and generate .tmLanguage files using AAAPackageDev.

Generating files from JSON file:

1. Install AAAPackageDev
2. Open JSON file with Sublime Text 2
3. build JSON file with ctrl-b
4. choose "Convert To: Property List"