/frisc_sublime3

Syntax highlighter and color scheme extensions for FRISC assembler in Sublime Text 3.

Primary LanguageShell

FRISC assembler extension for Sublime Text 3

Syntax highlighter and color scheme extensions for Sublime Text 3 for FER RISC processor assembler used throughout the Computer Architecture 1R course at the Faculty of Electrical Engineering and Computing, Zagreb.

Color scheme was created by duplicating default Monokai Sublime theme and changed in a few places in accordance with my own personal preferences.

There is no usual package for this to install with Sublime Package Control yet because either I didn't learn how to do that yet or I didn't deem it necessary.

If you find any errors or missing features or simply have any suggestions feel free to contact me...somehow.

You are free to use these files and change them however you like.

Installation

  • Manual

    • Windows: Copy .sublime-syntax and .sublime-color-scheme files to %appdata%\Sublime Text 3\Packages\User directory
      (%appdata% expands to C:\Users\<user>\AppData\Roaming)

    • Linux: Copy .sublime-syntax and .sublime-color-scheme files to Sublime /home/<user>/.config/sublime-text-3/Packages/User directory

  • Automatic
    (Sidenote: you should never just run things a stranger on internet tells you to run but rather inspect them first yourself)

    • Windows: st3_frisc_install.bat
    • Linux: ./st3_frisc_install.sh

Usage

Simply select color scheme and syntax in Sublime:

  • Menu: View -> Syntax -> FRISC for syntax highlighting, Preferences -> Color Scheme -> FRISC for color scheme
  • Command palette: Ctrl+Shift+P -> syntax FRISC for syntax highlighting, Ctrl+Shift+P -> ui color -> FRISC for color scheme

Note: You probably have to already have Package Control installed (Ctrl+Shift+P -> Install Package Control)