Home Download Buy Blog Forum Support

New Haskell syntax definition v0.1

New Haskell syntax definition v0.1

Postby FalconNL on Wed Feb 18, 2009 12:23 am

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.

haskell.png
Comparison of new (left) and old (right) Haskell syntax definition.
haskell.png (49.56 KiB) Viewed 1037 times
Attachments
Haskell2.zip
v0.1 of the new Haskell syntax definition file.
(2.19 KiB) Downloaded 191 times
FalconNL
 
Posts: 67
Joined: Thu May 29, 2008 8:17 pm

Re: New Haskell syntax definition v0.1

Postby FalconNL on Thu Feb 19, 2009 6:18 am

Small update: added qualified as keyword, fixed functions with names like head' and last' being marked unsafe.
Attachments
Haskell2 0.2.zip
v0.2 of the new Haskell syntax definition.
(2.2 KiB) Downloaded 229 times
FalconNL
 
Posts: 67
Joined: Thu May 29, 2008 8:17 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 14 guests