Haskell support

18 views
Skip to first unread message

Jens Lideström

unread,
Nov 29, 2012, 7:31:42 PM11/29/12
to col...@googlegroups.com
I created a simple Haskell syntax color description.

It is a really quick hack, some of it might depend on conversion
rather then on syntax rules, unusual constructs might give errors.

But nevertheless it is very useful. Haskell support for Eclipse is
pretty lacking. The EclipseFP plugin is still a bit shaky. This might
fill a gap.

I used the Ocaml file as a starting point.

proto.hrc entry:
<prototype name="haskell" group="rare" description="Haskell">
<location link="auto/haskell.hrc"/>
<filename>/\.(hs)$/i</filename>
</prototype>

Thanks for a nice plugin! This is really valuable for Eclipse, to have
an easy way to support new languages.

BR,
Jens
haskell.hrc

Jens

unread,
Nov 30, 2012, 6:07:12 AM11/30/12
to Colorer
The correct proto.hrc is this of course:

<prototype name="haskell" group="rare" description="Haskell">
<location link="jar:common.jar!rare/haskell.hrc"/>
<filename>/\.(hs)$/i</filename>
</prototype>

You can use the above entry if you wish to install Haskell support in
a existing Colorer plugin.

Put the attached file in:
eclipse_dir/plugins/net.sf.colorer_0.9.9/colorer/hrc/auto

And add the proto.hrc entry to:
eclipse_dir/plugins/net.sf.colorer_0.9.9/colorer/hrc/proto.hrc
Reply all
Reply to author
Forward
0 new messages