cryon / octo-mode

Emacs major mode for editing Octo assembly language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Octo mode for Emacs

Major mode for Octo; a high level assembly language for the Chip8 virtual machine.

Currently the mode provides syntax highlighting and indentation rules.

More information about the language can be found here.

Installation

MELPA

The easiest way to install octo-mode is from melpa. Assuming MELPA is added to your archive list you can list the available packages by typing M-x list-packages, look for octo-mode, mark it for installation by typing i and then execute (install) by typing x. Or install it directly with M-x package-install RET octo-mode.

If you want to install it manually, just drop this file anywhere in your load-path. By default octo-mode associates itself with the *.8o file ending. You can enable the mode manually by M-x octo-mode RET.

Contribute

Please report any issues you find with the mode and feel free to send me pull-requests with improvements!

If you send a merge-request please make sure that your commits contains exactly what you indent them to. Refrain from doing more than one logical change in each commit and rebase your branch on this repository's master branch to avoid interleaved commits from different branches.

Study this blog post by Chris Beams on how to write good commit messages.

  • Separate subject from body with a blank line
  • Limit the subject line to 50 characters
  • Capitalize the subject line
  • Do not end the subject line with a period
  • Use the imperative mood in the subject line
  • Wrap the body at 72 characters
  • Use the body to explain what and why vs. how

About

Emacs major mode for editing Octo assembly language

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%