Sublime Forum

New Haskell syntax definition v0.1

#1

Since the Haskell syntax definition that comes with Sublime has a few bugs with regards to comments and lacks a few things (e.g. pragmas and number literals) I decided to make my own definition.

The new syntax is attached to this post. It’s the first version, so there’s probably some things I overlooked. Comments, bug reports and suggestions are welcome.

Below is a comparison shot of the new syntax (on the left) with the old syntax (on the right) for the file I used for testing, which shows a few of the errors in the old syntax.


Haskell2.zip (2.19 KB)

0 Likes

#2

Small update: added qualified as keyword, fixed functions with names like head’ and last’ being marked unsafe.
Haskell2 0.2.zip (2.2 KB)

0 Likes