Parsec parser
- Initial import of stuff - Add hackage index parsing test for parsec - We can parse name and version - Add generics-sop dep - Use D.C.Prelude - Add StructDiff - Fix integral - Add Parsec -class - Add licence parsing - Free text fields (parsed as ascii atm) - Better StructDiff - Parsec BuildType - Implement VersionRange parser - Section parsing first steps - Sketch parseCondTree - more sec parsing - Module name - hs-source-dirs ::: composition/0.1/composition.cabal ::: composition/0.2/composition.cabal ::: composition/0.2.1/composition.cabal ::: composition/1.0.0.0/composition.cabal - PError (Position 20 1) "Unknown section: \"source-repository\"" - Parses condition - Add some notes, address few comments - Install alex on linux travis - Make ParseResult strict state monad - Use withinVersion - No warnings - Move to Distribution.PackageDescription.Parsec.FieldDescr - extensions - SourceRepo (sans kind) parsing - RepoKind - Few more stuff - Add Distribution.Compat.Parsec - We can parse all 'composition*' packages cabal files \o/ - fromUtf8BS - Clean up abit - More stuff - And more stuff - Traling whitespace :( - Executables - Benchmarks - spaceListField - Parse flag sections - a ~ Char, - tested with - package description x-fields - Conditions - reformat - Handle old syntax - More fields - More stuff - ^co ok, - more stuff - ^c ok - some of hackage ok - A-Z ok - Works [A-al) - to the h - rest of Hackage - Introduce parsec -flag - Count warnings - Verify we get not less warnings from parsec parser - fixup! Introduce parsec -flag - Warn about old/new syntax and cabal-version - Invalid UTF warning - Deprecated fields - Fix meta - Move transformers dep under parsec flag - Add parsec travis job
Showing
- .travis.yml 4 additions, 0 deletions.travis.yml
- Cabal/Cabal.cabal 55 additions, 0 deletionsCabal/Cabal.cabal
- Cabal/Distribution/Compat/Parsec.hs 71 additions, 0 deletionsCabal/Distribution/Compat/Parsec.hs
- Cabal/Distribution/ModuleName.hs 1 addition, 1 deletionCabal/Distribution/ModuleName.hs
- Cabal/Distribution/PackageDescription/Parsec.hs 541 additions, 0 deletionsCabal/Distribution/PackageDescription/Parsec.hs
- Cabal/Distribution/PackageDescription/Parsec/FieldDescr.hs 576 additions, 0 deletionsCabal/Distribution/PackageDescription/Parsec/FieldDescr.hs
- Cabal/Distribution/Parsec/Class.hs 372 additions, 0 deletionsCabal/Distribution/Parsec/Class.hs
- Cabal/Distribution/Parsec/ConfVar.hs 138 additions, 0 deletionsCabal/Distribution/Parsec/ConfVar.hs
- Cabal/Distribution/Parsec/Lexer.x 263 additions, 0 deletionsCabal/Distribution/Parsec/Lexer.x
- Cabal/Distribution/Parsec/LexerMonad.hs 147 additions, 0 deletionsCabal/Distribution/Parsec/LexerMonad.hs
- Cabal/Distribution/Parsec/Parser.hs 416 additions, 0 deletionsCabal/Distribution/Parsec/Parser.hs
- Cabal/Distribution/Parsec/Types/Common.hs 85 additions, 0 deletionsCabal/Distribution/Parsec/Types/Common.hs
- Cabal/Distribution/Parsec/Types/Field.hs 71 additions, 0 deletionsCabal/Distribution/Parsec/Types/Field.hs
- Cabal/Distribution/Parsec/Types/FieldDescr.hs 240 additions, 0 deletionsCabal/Distribution/Parsec/Types/FieldDescr.hs
- Cabal/Distribution/Parsec/Types/ParseResult.hs 78 additions, 0 deletionsCabal/Distribution/Parsec/Types/ParseResult.hs
- Cabal/tests/DiffInstances.hs 98 additions, 0 deletionsCabal/tests/DiffInstances.hs
- Cabal/tests/ParserTests.hs 252 additions, 0 deletionsCabal/tests/ParserTests.hs
- Cabal/tests/StructDiff.hs 162 additions, 0 deletionsCabal/tests/StructDiff.hs
- travis-install.sh 1 addition, 1 deletiontravis-install.sh
Loading
Please register or sign in to comment