packages feed

check-cfg-ambiguity

Checks context free grammar for ambiguity using brute force up to given limit

view on Hackage

Checks context free grammar for ambiguity using brute force up to given limit. It is impossible to check arbitrary context free grammar for ambiguity on a Turing machine. So we provide you brute force algorithm up to a limit. You can also use function "upTo" from package "Earley-0.13.0.1" for the same purpose, but it can freeze on infinitely ambiguous grammars: https://github.com/ollef/Earley/issues/54 . So I decided to write and publish this package. See also: https://mail.haskell.org/pipermail/haskell-cafe/2021-May/134006.html You don't need to be registered on SourceHut to create bug report. If you think that this software is not needed or existing software already subsumes its functionality, please, tell me that, I will not be offended.
versionuploadeduploaderchanges
0.1.1.02024-06-02 14:32 UTCsafinaskar+6/−6 lines, 3 filesdep ~QuickCheckdep ~basedep ~containersPVP ok
0.1.0.02023-01-02 09:39 UTCsafinaskar+3/−2 lines, 2 filesPVP ok
0.0.0.22023-01-02 08:52 UTCsafinaskar+92/−44 lines, 6 filesdep +QuickCheckdep +doctestdep ~basedep ~containersPVP ok
0.0.0.12021-05-23 22:50 UTCsafinaskar+465/−0 lines, 5 filesdep +basedep +containers

Dependencies of check-cfg-ambiguity-0.1.1.0

QuickCheck ==2.15.0.1 2.15.0.1 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

base >=4.13.0.0 && <=4.19.1.0 4.19.1.0 → 4.22.1.0 newer than bounds
2026-12-01 12:38 UTC4.22.1.0 newer than bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 newer than bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 newer than bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 newer than bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 newer than bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers >=0.6.2.1 && <=0.6.8 0.6.8 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

doctest ==0.22.2 0.22.2 → 0.25.0.2 newer than bounds
2026-09-24 10:26 UTC0.25.0.2 newer than bounds+7/−2 lines, 3 filesPVP ok
2026-09-24 08:42 UTC0.25.0.1 newer than bounds+36/−4 lines, 6 filesPVP ok
2026-05-03 17:07 UTC0.25.0 newer than bounds+55/−31 lines, 7 filesPVP ok
2026-01-02 08:10 UTC0.24.3 newer than bounds+25/−11 lines, 5 filesdep ~ghcPVP ok
2025-06-24 14:52 UTC0.24.2 newer than bounds+17/−77 lines, 10 filesdep ~basedep ~ghcPVP ok

showing 5 of 79 versions

Reverse dependencies

no known reverse dependencies