Skip to content
AML mode for Emacs
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is an AML mode for Emacs.


First, place the file 'aml-mode.el' somewhere on your load-path.

Second, add the following to your .emacs:

(require 'aml-mode)
(add-to-list 'auto-mode-alist '("\\.aml$" . aml-mode))


AML mode is quite simple right now. It currently has the following features:

Syntax coloring

AML mode correctly understands AML's comment syntax, including nested multi-line comments.


AML mode has indentation code heavily based on the simple indentation code in haskell-mode. In other words, it indents the first line of the body of a definition, and it can line up indented sub-elements with those above them.

You can’t perform that action at this time.