Skip to content

BGR360/lc2k-sublime-plugin

Repository files navigation

LC-2K Sublime Text Plugin

LC-2K syntax highlighting and autocompletion for Sublime Text 3

Intro

The LC-2K is the "Little Computer 2K" architecture for a computer. The LC-2K ISA supports 8 basic instructions and allows for full functionality of a computer.

The LC-2K ISA is used by students of the "EECS 370: Computer Architecture" course at the University of Michigan. Students also learn the popular MIPS ISA.

There is already a Sublime Text Plugin for the MIPS ISA, but not for LC-2K. So I decided to make one.

Planned Features

Make a suggestion!

  • Syntax Highlighting
  • Instruction Autocompletion
  • LC-2K Quick-Reference

Installation

Note: This plugin has only been tested on Sublime Text 3

Package Control (Recommended)

Install PackageControl. Then open the command palette (default keybinding: Ctl+Shift+P or Cmd+Shift+P), select Package Control: Install Package and choose LC-2K Assembly.

Manual (Not Recommended)

Download the repo as a ZIP file and extract it to Sublime's Package Directory:

Linux: ~/.config/sublime-text-3/Packages/User/LC-2K Assembly/

OS X: /Users/<you>/Library/Application Support/Sublime Text 3/Packages/User/LC-2K Assembly/

Windows: AppData\Roaming\Sublime Text 3\Packages\LC-2K Assembly\

Features

Syntax Highlighting

Shown on a variety of color schemes:

Autocompletion