├── .appveyor.yml ├── .github └── workflows │ └── haskell-ci.yml ├── .gitignore ├── .readthedocs.yaml ├── CONTRIBUTING.rst ├── ChangeLog.md ├── DEVELOPER.md ├── LICENSE ├── Makefile ├── README.md ├── Setup.hs ├── app └── Main.lhs ├── cabal.haskell-ci ├── cabal.project ├── doc ├── .gitignore ├── Happy.gif ├── Makefile ├── attribute-grammars.rst ├── conf.py ├── contributing.rst ├── glr.rst ├── index.rst ├── info-files.rst ├── introduction.rst ├── invoking.rst ├── make.bat ├── obtaining.rst ├── requirements.txt ├── syntax.rst ├── tips.rst └── using.rst ├── examples ├── Calc.ly ├── DavesExample.ly ├── ErlParser.ly ├── ErrorTest.ly ├── LexerTest.ly ├── MonadTest.ly ├── PgnParser.ly ├── README ├── SimonsExample.ly ├── glr │ ├── .gitignore │ ├── Makefile │ ├── Makefile.defs │ ├── bio-eg │ │ ├── 1-1200.dna │ │ ├── 1-600.dna │ │ ├── Bio.y │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ ├── common │ │ ├── DV_lhs │ │ └── DaVinciTypes.hs │ ├── expr-eval │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ ├── expr-monad │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ ├── expr-tree │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ ├── README │ │ └── Tree.lhs │ ├── hidden-leftrec │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ ├── highly-ambiguous │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ ├── nlp │ │ ├── English.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README │ └── packing │ │ ├── Expr.y │ │ ├── Hugs.lhs │ │ ├── Main.lhs │ │ ├── Makefile │ │ └── README └── igloo │ ├── Foo.hs │ ├── Lexer.x │ ├── Makefile │ ├── Parser.y │ ├── ParserM.hs │ └── README ├── hackage-upload.sh ├── happy.cabal ├── lib ├── ChangeLog.md ├── README.md ├── backend-glr │ ├── LICENSE │ ├── Setup.hs │ └── src │ │ └── Happy │ │ └── Backend │ │ ├── GLR.hs │ │ └── GLR │ │ └── ProduceCode.lhs ├── backend-lalr │ ├── LICENSE │ ├── Setup.hs │ └── src │ │ └── Happy │ │ └── Backend │ │ ├── LALR.hs │ │ └── LALR │ │ └── ProduceCode.lhs ├── data │ ├── GLR_Base.hs │ ├── GLR_Lib.hs │ └── HappyTemplate.hs ├── frontend │ ├── LICENSE │ ├── Setup.hs │ ├── boot-src │ │ ├── AttrGrammarParser.ly │ │ └── Parser.ly │ ├── bootstrap.sh │ └── src │ │ └── Happy │ │ ├── Frontend.hs │ │ └── Frontend │ │ ├── AbsSyn.lhs │ │ ├── AttrGrammar.lhs │ │ ├── AttrGrammar │ │ ├── Mangler.lhs │ │ └── Parser.hs │ │ ├── Lexer.lhs │ │ ├── Mangler.lhs │ │ ├── Mangler │ │ └── Monad.lhs │ │ ├── ParamRules.hs │ │ ├── ParseMonad.hs │ │ ├── ParseMonad │ │ └── Class.hs │ │ ├── Parser.hs │ │ └── PrettyGrammar.hs ├── grammar │ ├── LICENSE │ ├── Setup.hs │ └── src │ │ └── Happy │ │ ├── Grammar.lhs │ │ └── Grammar │ │ └── ExpressionWithHole.hs ├── hackage-upload.sh ├── happy-lib.cabal └── tabular │ ├── LICENSE │ ├── Setup.hs │ └── src │ └── Happy │ ├── Tabular.lhs │ └── Tabular │ ├── First.lhs │ ├── Info.lhs │ ├── LALR.lhs │ └── NameSet.hs ├── test.hs └── tests ├── .gitignore ├── AttrGrammar001.y ├── AttrGrammar002.y ├── Makefile ├── ParGF.y ├── Partial.ly ├── Pragma.y ├── Test.ly ├── TestMulti.ly ├── TestPrecedence.ly ├── bogus-token.y ├── bug001.ly ├── bug002.y ├── catch-shift-reduce.y ├── error001.stderr ├── error001.stdout ├── error001.y ├── issue131.y ├── issue265.y ├── issue91.y ├── issue93.y ├── issue94.y ├── issue95.y ├── monad001.y ├── monad002.ly ├── monaderror-explist.y ├── monaderror-lexer-explist.y ├── monaderror-newexplist.y ├── monaderror-resume.y ├── monaderror.y ├── precedence001.ly ├── precedence002.y ├── rank2.y ├── shift01.y ├── test_rules.y ├── typeclass_monad001.y ├── typeclass_monad002.ly └── typeclass_monad_lexer.y /.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/.appveyor.yml -------------------------------------------------------------------------------- /.github/workflows/haskell-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/.github/workflows/haskell-ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- 1 | doc/contributing.rst -------------------------------------------------------------------------------- /ChangeLog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/ChangeLog.md -------------------------------------------------------------------------------- /DEVELOPER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/DEVELOPER.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /app/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/app/Main.lhs -------------------------------------------------------------------------------- /cabal.haskell-ci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/cabal.haskell-ci -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/cabal.project -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | -------------------------------------------------------------------------------- /doc/Happy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/Happy.gif -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/Makefile -------------------------------------------------------------------------------- /doc/attribute-grammars.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/attribute-grammars.rst -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/contributing.rst -------------------------------------------------------------------------------- /doc/glr.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/glr.rst -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/index.rst -------------------------------------------------------------------------------- /doc/info-files.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/info-files.rst -------------------------------------------------------------------------------- /doc/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/introduction.rst -------------------------------------------------------------------------------- /doc/invoking.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/invoking.rst -------------------------------------------------------------------------------- /doc/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/make.bat -------------------------------------------------------------------------------- /doc/obtaining.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/obtaining.rst -------------------------------------------------------------------------------- /doc/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/requirements.txt -------------------------------------------------------------------------------- /doc/syntax.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/syntax.rst -------------------------------------------------------------------------------- /doc/tips.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/tips.rst -------------------------------------------------------------------------------- /doc/using.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/doc/using.rst -------------------------------------------------------------------------------- /examples/Calc.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/Calc.ly -------------------------------------------------------------------------------- /examples/DavesExample.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/DavesExample.ly -------------------------------------------------------------------------------- /examples/ErlParser.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/ErlParser.ly -------------------------------------------------------------------------------- /examples/ErrorTest.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/ErrorTest.ly -------------------------------------------------------------------------------- /examples/LexerTest.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/LexerTest.ly -------------------------------------------------------------------------------- /examples/MonadTest.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/MonadTest.ly -------------------------------------------------------------------------------- /examples/PgnParser.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/PgnParser.ly -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/README -------------------------------------------------------------------------------- /examples/SimonsExample.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/SimonsExample.ly -------------------------------------------------------------------------------- /examples/glr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/.gitignore -------------------------------------------------------------------------------- /examples/glr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/Makefile -------------------------------------------------------------------------------- /examples/glr/Makefile.defs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/Makefile.defs -------------------------------------------------------------------------------- /examples/glr/bio-eg/1-1200.dna: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/1-1200.dna -------------------------------------------------------------------------------- /examples/glr/bio-eg/1-600.dna: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/1-600.dna -------------------------------------------------------------------------------- /examples/glr/bio-eg/Bio.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/Bio.y -------------------------------------------------------------------------------- /examples/glr/bio-eg/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/Main.lhs -------------------------------------------------------------------------------- /examples/glr/bio-eg/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/Makefile -------------------------------------------------------------------------------- /examples/glr/bio-eg/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/bio-eg/README -------------------------------------------------------------------------------- /examples/glr/common/DV_lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/common/DV_lhs -------------------------------------------------------------------------------- /examples/glr/common/DaVinciTypes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/common/DaVinciTypes.hs -------------------------------------------------------------------------------- /examples/glr/expr-eval/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-eval/Expr.y -------------------------------------------------------------------------------- /examples/glr/expr-eval/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-eval/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/expr-eval/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-eval/Main.lhs -------------------------------------------------------------------------------- /examples/glr/expr-eval/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-eval/Makefile -------------------------------------------------------------------------------- /examples/glr/expr-eval/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-eval/README -------------------------------------------------------------------------------- /examples/glr/expr-monad/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-monad/Expr.y -------------------------------------------------------------------------------- /examples/glr/expr-monad/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-monad/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/expr-monad/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-monad/Main.lhs -------------------------------------------------------------------------------- /examples/glr/expr-monad/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-monad/Makefile -------------------------------------------------------------------------------- /examples/glr/expr-monad/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-monad/README -------------------------------------------------------------------------------- /examples/glr/expr-tree/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/Expr.y -------------------------------------------------------------------------------- /examples/glr/expr-tree/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/expr-tree/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/Main.lhs -------------------------------------------------------------------------------- /examples/glr/expr-tree/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/Makefile -------------------------------------------------------------------------------- /examples/glr/expr-tree/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/README -------------------------------------------------------------------------------- /examples/glr/expr-tree/Tree.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/expr-tree/Tree.lhs -------------------------------------------------------------------------------- /examples/glr/hidden-leftrec/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/hidden-leftrec/Expr.y -------------------------------------------------------------------------------- /examples/glr/hidden-leftrec/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/hidden-leftrec/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/hidden-leftrec/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/hidden-leftrec/Main.lhs -------------------------------------------------------------------------------- /examples/glr/hidden-leftrec/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/hidden-leftrec/Makefile -------------------------------------------------------------------------------- /examples/glr/hidden-leftrec/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/hidden-leftrec/README -------------------------------------------------------------------------------- /examples/glr/highly-ambiguous/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/highly-ambiguous/Expr.y -------------------------------------------------------------------------------- /examples/glr/highly-ambiguous/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/highly-ambiguous/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/highly-ambiguous/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/highly-ambiguous/Main.lhs -------------------------------------------------------------------------------- /examples/glr/highly-ambiguous/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/highly-ambiguous/Makefile -------------------------------------------------------------------------------- /examples/glr/highly-ambiguous/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/highly-ambiguous/README -------------------------------------------------------------------------------- /examples/glr/nlp/English.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/nlp/English.y -------------------------------------------------------------------------------- /examples/glr/nlp/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/nlp/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/nlp/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/nlp/Main.lhs -------------------------------------------------------------------------------- /examples/glr/nlp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/nlp/Makefile -------------------------------------------------------------------------------- /examples/glr/nlp/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/nlp/README -------------------------------------------------------------------------------- /examples/glr/packing/Expr.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/packing/Expr.y -------------------------------------------------------------------------------- /examples/glr/packing/Hugs.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/packing/Hugs.lhs -------------------------------------------------------------------------------- /examples/glr/packing/Main.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/packing/Main.lhs -------------------------------------------------------------------------------- /examples/glr/packing/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/packing/Makefile -------------------------------------------------------------------------------- /examples/glr/packing/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/glr/packing/README -------------------------------------------------------------------------------- /examples/igloo/Foo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/Foo.hs -------------------------------------------------------------------------------- /examples/igloo/Lexer.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/Lexer.x -------------------------------------------------------------------------------- /examples/igloo/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/Makefile -------------------------------------------------------------------------------- /examples/igloo/Parser.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/Parser.y -------------------------------------------------------------------------------- /examples/igloo/ParserM.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/ParserM.hs -------------------------------------------------------------------------------- /examples/igloo/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/examples/igloo/README -------------------------------------------------------------------------------- /hackage-upload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/hackage-upload.sh -------------------------------------------------------------------------------- /happy.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/happy.cabal -------------------------------------------------------------------------------- /lib/ChangeLog.md: -------------------------------------------------------------------------------- 1 | ../ChangeLog.md -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /lib/backend-glr/LICENSE: -------------------------------------------------------------------------------- 1 | ../../LICENSE -------------------------------------------------------------------------------- /lib/backend-glr/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /lib/backend-glr/src/Happy/Backend/GLR.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/backend-glr/src/Happy/Backend/GLR.hs -------------------------------------------------------------------------------- /lib/backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs -------------------------------------------------------------------------------- /lib/backend-lalr/LICENSE: -------------------------------------------------------------------------------- 1 | ../../LICENSE -------------------------------------------------------------------------------- /lib/backend-lalr/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /lib/backend-lalr/src/Happy/Backend/LALR.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/backend-lalr/src/Happy/Backend/LALR.hs -------------------------------------------------------------------------------- /lib/backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs -------------------------------------------------------------------------------- /lib/data/GLR_Base.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/data/GLR_Base.hs -------------------------------------------------------------------------------- /lib/data/GLR_Lib.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/data/GLR_Lib.hs -------------------------------------------------------------------------------- /lib/data/HappyTemplate.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/data/HappyTemplate.hs -------------------------------------------------------------------------------- /lib/frontend/LICENSE: -------------------------------------------------------------------------------- 1 | ../../LICENSE -------------------------------------------------------------------------------- /lib/frontend/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /lib/frontend/boot-src/AttrGrammarParser.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/boot-src/AttrGrammarParser.ly -------------------------------------------------------------------------------- /lib/frontend/boot-src/Parser.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/boot-src/Parser.ly -------------------------------------------------------------------------------- /lib/frontend/bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/bootstrap.sh -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/AbsSyn.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/AbsSyn.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/AttrGrammar.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/AttrGrammar.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/AttrGrammar/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/AttrGrammar/Parser.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/Lexer.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/Lexer.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/Mangler.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/Mangler.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/Mangler/Monad.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/Mangler/Monad.lhs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/ParamRules.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/ParamRules.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/ParseMonad.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/ParseMonad.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/ParseMonad/Class.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/ParseMonad/Class.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/Parser.hs -------------------------------------------------------------------------------- /lib/frontend/src/Happy/Frontend/PrettyGrammar.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/frontend/src/Happy/Frontend/PrettyGrammar.hs -------------------------------------------------------------------------------- /lib/grammar/LICENSE: -------------------------------------------------------------------------------- 1 | ../../LICENSE -------------------------------------------------------------------------------- /lib/grammar/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /lib/grammar/src/Happy/Grammar.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/grammar/src/Happy/Grammar.lhs -------------------------------------------------------------------------------- /lib/grammar/src/Happy/Grammar/ExpressionWithHole.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/grammar/src/Happy/Grammar/ExpressionWithHole.hs -------------------------------------------------------------------------------- /lib/hackage-upload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/hackage-upload.sh -------------------------------------------------------------------------------- /lib/happy-lib.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/happy-lib.cabal -------------------------------------------------------------------------------- /lib/tabular/LICENSE: -------------------------------------------------------------------------------- 1 | ../../LICENSE -------------------------------------------------------------------------------- /lib/tabular/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /lib/tabular/src/Happy/Tabular.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/tabular/src/Happy/Tabular.lhs -------------------------------------------------------------------------------- /lib/tabular/src/Happy/Tabular/First.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/tabular/src/Happy/Tabular/First.lhs -------------------------------------------------------------------------------- /lib/tabular/src/Happy/Tabular/Info.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/tabular/src/Happy/Tabular/Info.lhs -------------------------------------------------------------------------------- /lib/tabular/src/Happy/Tabular/LALR.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/tabular/src/Happy/Tabular/LALR.lhs -------------------------------------------------------------------------------- /lib/tabular/src/Happy/Tabular/NameSet.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/lib/tabular/src/Happy/Tabular/NameSet.hs -------------------------------------------------------------------------------- /test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/test.hs -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/AttrGrammar001.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/AttrGrammar001.y -------------------------------------------------------------------------------- /tests/AttrGrammar002.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/AttrGrammar002.y -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/ParGF.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/ParGF.y -------------------------------------------------------------------------------- /tests/Partial.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/Partial.ly -------------------------------------------------------------------------------- /tests/Pragma.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/Pragma.y -------------------------------------------------------------------------------- /tests/Test.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/Test.ly -------------------------------------------------------------------------------- /tests/TestMulti.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/TestMulti.ly -------------------------------------------------------------------------------- /tests/TestPrecedence.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/TestPrecedence.ly -------------------------------------------------------------------------------- /tests/bogus-token.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/bogus-token.y -------------------------------------------------------------------------------- /tests/bug001.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/bug001.ly -------------------------------------------------------------------------------- /tests/bug002.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/bug002.y -------------------------------------------------------------------------------- /tests/catch-shift-reduce.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/catch-shift-reduce.y -------------------------------------------------------------------------------- /tests/error001.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/error001.stderr -------------------------------------------------------------------------------- /tests/error001.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/error001.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/error001.y -------------------------------------------------------------------------------- /tests/issue131.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue131.y -------------------------------------------------------------------------------- /tests/issue265.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue265.y -------------------------------------------------------------------------------- /tests/issue91.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue91.y -------------------------------------------------------------------------------- /tests/issue93.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue93.y -------------------------------------------------------------------------------- /tests/issue94.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue94.y -------------------------------------------------------------------------------- /tests/issue95.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/issue95.y -------------------------------------------------------------------------------- /tests/monad001.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monad001.y -------------------------------------------------------------------------------- /tests/monad002.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monad002.ly -------------------------------------------------------------------------------- /tests/monaderror-explist.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monaderror-explist.y -------------------------------------------------------------------------------- /tests/monaderror-lexer-explist.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monaderror-lexer-explist.y -------------------------------------------------------------------------------- /tests/monaderror-newexplist.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monaderror-newexplist.y -------------------------------------------------------------------------------- /tests/monaderror-resume.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monaderror-resume.y -------------------------------------------------------------------------------- /tests/monaderror.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/monaderror.y -------------------------------------------------------------------------------- /tests/precedence001.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/precedence001.ly -------------------------------------------------------------------------------- /tests/precedence002.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/precedence002.y -------------------------------------------------------------------------------- /tests/rank2.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/rank2.y -------------------------------------------------------------------------------- /tests/shift01.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/shift01.y -------------------------------------------------------------------------------- /tests/test_rules.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/test_rules.y -------------------------------------------------------------------------------- /tests/typeclass_monad001.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/typeclass_monad001.y -------------------------------------------------------------------------------- /tests/typeclass_monad002.ly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/typeclass_monad002.ly -------------------------------------------------------------------------------- /tests/typeclass_monad_lexer.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haskell/happy/HEAD/tests/typeclass_monad_lexer.y --------------------------------------------------------------------------------