components/prism-haskell.js

Branch


Log

Author Commit Date CI Message
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Michael Schmidt 679539ec 2021-07-30T21:37:24 Improved Haskell and PureScript (#3020)
Michael Schmidt e8d3b503 2021-06-27T14:56:07 ESLint: Added `regexp/strict` rule (#2944)
Michael Schmidt 79d22182 2021-06-08T13:50:35 FIxed some cases of quadratic worst-case runtime (#2922)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt e023044c 2020-08-28T18:38:14 Haskell: Improvements (#2535)
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Michael Schmidt 64baec3c 2019-03-24T18:39:32 Added `hs` alias for Haskell (#1831) This adds `hs` as an alias for Haskell.
Golmote f11390a4 2017-10-22T14:42:04 Haskell: Regexp simplification + don't use captures if not needed
Valtteri Laitinen 8aa2cc4a 2017-05-08T13:56:50 Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) * Replace [\w\W] with [^] and [0-9] with \d in regexes * Replace [\s\S] with [^] * Replace [^] with [\s\S]
Andreas Rohner 964450e1 2016-04-30T13:35:01 Apply the new greedy flag to a few languages This patch applies the new greedy flag to a few languages and adds the corresponding test cases.
Golmote 1cc8d8e5 2015-08-23T14:46:31 Haskell: Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Bastian Holst 6e26a58b 2014-08-12T21:35:01 Correct haskell support for strings and characters This commit adds correct support for Haskell characters and strings. To me, having only one type of token for characters and strings makes no sense in Haskell as they can be distinguished easily. Characters start with a single quote and strings start with a double quote. Furthermore, characters can only contain —guess what— one character whereas strings can caintain multiple or none of them. String can also have gaps.
Bastian Holst a70fadfd 2014-08-12T20:50:42 Add support for other numbers Add support for * hexadecimal numbers * octal numbers * floating point numbers with exponent
Bastian Holst e1c2148c 2014-08-12T16:28:42 Remove remaining entities
Bastian Holst ce35c97b 2014-07-13T22:45:29 Fix documentation Haskell language definitions
Bastian Holst 62fc8621 2014-07-13T22:34:03 Fix handling of '.' in Haskell definition The character '.' may be either a part of an operator, an operator by itself or a separator between module name and variable.
Bastian Holst e7a1c5d3 2014-07-13T21:56:40 Remove escaped entities from Haskell language def
Bastian Holst 8a77383b 2014-07-13T20:49:37 Add language definition for Haskell