Sublime Text syntax-highlighting for Apollo Guidance Computer (AGC) assembly source code.
This syntax supports the following filetypes:
agc
- AGC (Command Module and Lunar Module) assembly language source.ags
- AGS (Lunar Module Abort Guidance System) aseembly language source.binsource
- AGC/AGC core rope memory binary source files.
- Command Palette (OS X:
Cmd-Shift-P
, Linux/Windows:Ctrl-Shift-P
) - Select
Package Control: Install Package
. - Select
AGC Assembly
Package Control will automatically keep AGC Assembly
up to date.
Locate the Sublime Text packages directory on your machine and use Git to clone the repostory from Github into that directory:
$ cd </sublime/packages/directory>
$ git clone https://github.com/jimlawton/AGC-Assembly
Included are suggested settings files for the three supported filetypes. Current VirtualAGC project conventions are to use hard tabs every 8 columns when entering source.
{
"tab_size": 8,
"translate_tabs_to_spaces": false,
"use_tab_stops": true,
"detect_indentation": false,
"auto_indent": true,
"smart_indent": false,
"indent_to_bracket": false,
"trim_automatic_white_space": false,
"tab_completion": false
}
You can set the language-specific settings by opening an AGC/AGS source file
and selecting Sublime Text
> Preferences
> Settings - Syntax-Specific
.
Pull requests are welcome. Please do not edit the .tmLanguage
files
directly. Instead, edit the .YAML-tmLanguage
files and build the
.tmLanguage
file from it using PackageDev.