No description
  • Emacs Lisp 100%
Find a file
Henrik Lissner 98795cdc81
bump: v1.2.0
2022-06-08 14:04:03 +02:00
LICENSE docs: add doom install instructions & update license 2022-06-08 12:27:21 +02:00
mips-mode.el bump: v1.2.0 2022-06-08 14:04:03 +02:00
README.md docs: add doom install instructions & update license 2022-06-08 12:27:21 +02:00

MIT MELPA MELPA Stable

mips-mode

An Emacs major mode for MIPS Assembly code, based off haxor-mode. Originally written for the MIPS Assembly track on exercism.io. MIPS Reference.

Features

  • Code evaluation with spim
  • Syntactic highlighting
  • Syntactic indentation

Installation

mips-mode is available on MELPA. To install:

M-x package-install RET mips-mode

Alternatively, for use-package users:

(use-package mips-mode :mode "\\.mips$")

As for Doom Emacs users:

  1. Add (package! mips-mode) to $DOOMDIR/packages.el.
  2. Run $ doom sync.
  3. Restart Emacs.

Usage

Use (require 'mips-mode); it will set up itself.

Keybindings

C-c C-c evaluates the current buffer in mips-interpreter

C-c C-r evaluates the current region in mips-interpreter