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:
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.