bsim-mode is a major mode for editing BSim code, used in SUTD's 50.002 Computation Structures module. Currently it only handles syntax highlighting.
- Put
bsim.el
into your init folder. - Add the following into your init file, replacing
path/to/bsim.el
with the location ofbsim.el
:
(load "path/to/bsim.el" nil t)
(add-to-list 'auto-mode-alist '("\\.uasm\\'" . bsim-mode))