Emacs major mode for the uxntal assembly language.
(use-package uxntal-mode)
(straight-use-package 'uxntal-mode)
Copy uxntal-mode.el
to the desired location and then modify init.el
:
;; ensure the directory containing uxntal-mode.el is mentioned
;; in emacs' load-path variable.
(add-to-list 'load-path "~/.emacs.d/lisp/")
;; then load uxntal-mode
(require 'uxntal-mode)
Currently-supported features:
uxnasm
via M-x compile
uxntal-explain-word
)
Future features:
M-.
)By default uxntal-mode
is lax about comment highlighting. This means that some
invalid comments such as (this)
or (that )
or ( these)
will be highlighted
incorrectly.
If you would prefer to have stricter comment highlighting which forbids all
invalid comments (but may also forbid valid comments like ( )
) set
uxntal-mode-strict-comments
to t
.
Unfortunately both modes fail on words like worst-case-(
due to limitations
in how Emacs handles multiline comments.
Copyright d_m, 2022.
This code is available to you under the Apache License 2.0. See COPYING for more details.