This is a first version featuring most of the important syntax elements
as comments, keywords, atoms and variables etc.
Btw fixed prolog parsed to behave like the erlang one when highlighting
atoms and variables.
The main features of Haml can be correctly parsed according to
http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html.
There exist some limitations inherently comming from the limitations
of state machine based highlighters (without side effects)... this parsers
sucks with multiline comments, strings etc since the indent based grouping
can't be evaluated.
Features:
- comments after ; and # (even on key=value lines)
- section highlight
- escaping in values
- error checking for [sections] and incomplete key=value pairs
Features:
- many :p
- value continuation on next line
- unicode escape codes
- line comments on # and !
- good error detection (simpler on stricter files)
Common file for ftyperc: build.xml
This jsf is derived from the XML highlighter but with changed
colors matching the fact that for Ant <tags> are important
(and blue is bad here).
Features:
- Ant variable reference highlighting for e.g. ${build.dir}