Projects Log


Commit Date  
[0b7306] (13.2 kB) by kudah <kudahkukarek@gmail.com

Improvements to Haskell Lexer:
* Added support for MagicHash extension (lexer.haskell.allow.hash)
* $ and # are now colored as operators.
* .0 and -0 are now properly colored as operator and a number, not as just number.
* Operators starting with double dash (e.g ---->) are properly colored as operators, not comments.
* Added pragma highlighting.
* Added basic C-preprocessor highlighting.
* Qualified names (e.g. ABC.xyz) are now properly highlighted as identifiers, not types.
* Qualified operators (e.g. ABC.<$>) are now properly highlighted as operators.
* Operator . is now properly highlighted as an operator, not part of the identifier, when applied to a qualified and an unqualified value (e.g. Abc.xyz.yzx <- last one is an operator)
* Operators starting with ':' are now properly highlighted as type constructors, not operators.
* family after data is highlighted, as per TypeFamilies.

2013-04-04 08:16:34 View
Download
[a09716] (11.1 kB) by nyamatongwe

Feature Request #3039490 Improved syntactic highlighting for Haskell
'as' is a keyword but in all other contexts it is a normal identifier.
The highligthting was failing if the operators are not separated by spaces: 10+20
There was highlighting for data types, classes and instances but it didn't
work correctly. This was removed.

2010-08-10 13:39:41 View
Download
[ce2c65] (7.9 kB) by nyamatongwe

For new lexer design change includes to add new files and remove unused files.
Normalise order of includes.
Minor fixes for compatibility with new lexer design.

2010-07-13 11:44:00 View
Download
[c8042e] (7.9 kB) by nyamatongwe

Moved lexers into lexers directory.

2010-07-13 11:16:48 View
Download