An Emacs major mode for AML
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with david-christiansen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this 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.