happy icon indicating copy to clipboard operation
happy copied to clipboard

The Happy parser generator for Haskell

Results 75 happy issues
Sort by recently updated
recently updated
newest added

https://github.com/haskell/happy/blob/535ce96533fb693a8a4441b0ac17cdb78bddfeec/doc/contributing.rst?plain=1#L36-L43 On a fresh working copy of `master` ( 535ce96533fb693a8a4441b0ac17cdb78bddfeec ): ``` $ happy -V Happy Version 1.20.1.1 ... $ cabal build .... Preprocessing library for happy-frontend-2.0... happy: /Users/abel/project/open-source/happy-master/././HappyTemplate-arrays-coerce: openFile:...

build failure
re: building happy

A drafty PoC serving as motivation for a GSoC proposal; I don't want to see this merged or reviewed for now. --- Consider this excerpt from an example (`errormonad-resume.y`): ```hs...

I am new to Happy and want to use it for an (old school) introductory course on compiler engineering. Because I repetitively got the very uninformative `Internal Happy error` error,...

enhancement
documentation

https://gitlab.haskell.org/ghc/ghc/-/issues/21342 manually postprocessed GHC's Parser.y file to generate a railroad diagram. Perhaps that would be a cool use case for a happy backend if when the modularisation is finally published.

For tests/issue93.y, the `happyExpToks` array is about 20% larger than `happyTable`. We should definitely try to compress it more, perhaps use an array of lists. Better: Error handling is not...

Here's a reproducer exhibiting two issues: ``` { {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE FlexibleInstances #-} -- For ancient GHC 7.0.4 {-# LANGUAGE MultiParamTypeClasses #-} module Main where import Control.Monad...

re: building happy
re: error handler

The happy LR backend has 24 different modes, making it quite insane to maintain and extend. These 24 modes depend on * whether you want to provide your own lexer...

There are multiple issues related to running into the 16 bit limit of the tables encoded by happy: * https://github.com/haskell/happy/issues/93, debugging this must have been a horrible experience. Kudos, @harpocrates...

Do you plan on releasing a new version and distributing the packages on hackage in the near future? That would allow library authors using these packages to also distribute their...