These are chat archives for carymrobbins/intellij-haskforce

14th
Apr 2018
Ashley Rose
@ashley-rose
Apr 14 2018 03:02
Hey, I was wondering if you all would be open to a contribution of lucius/cassius/julius shakespeare support packs to go with the hamlet support pack?
Cary Robbins
@carymrobbins
Apr 14 2018 03:05
@ashley-rose sure thing, PRs are welcome!
Ashley Rose
@ashley-rose
Apr 14 2018 03:06
Awesome! I was looking for a project this weekend :)
Cary Robbins
@carymrobbins
Apr 14 2018 03:07
So follow the pattern that's done for hamlet for now, i think it should be pretty straightforward
Note that I simply adapted the Html lexer in order to pull off hamlet syntax
the only thing is, i'm not sure if the JS and CSS lexers are OSS
in intellij-community
ok here's the json one
oh wait, that's just json :joy:
well i don't see them, so if you can't find them either you'd need to write the JS/CSS flex lexers by hand
Cary Robbins
@carymrobbins
Apr 14 2018 03:12
making the obvious adaptations as needed for julius/cassius
Ashley Rose
@ashley-rose
Apr 14 2018 03:13
Yeah, I’ll poke around and see whats out there, worst case I can try to port the lexer from yesod
Cary Robbins
@carymrobbins
Apr 14 2018 03:13
maybe, for intellij i strongly recommend using a flex lexer, so if the lexer is written in alex or something it may be port-able
Ashley Rose
@ashley-rose
Apr 14 2018 03:14
:+1: