language-glsl 0.0.0 → 0.0.1
raw patch · 2 files changed
+9/−8 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Language.GLSL.Parser: infixLeft'' :: Char -> (a -> a -> a) -> Operator Char S a
Files
- Language/GLSL/Parser.hs +5/−2
- language-glsl.cabal +4/−6
Language/GLSL/Parser.hs view
@@ -261,6 +261,9 @@ infixLeft' :: String -> (a -> a -> a) -> Operator Char S a infixLeft' s r = Infix (lexeme (try $ string s >> notFollowedBy (char '=')) >> return r) AssocLeft +infixLeft'' :: Char -> (a -> a -> a) -> Operator Char S a+infixLeft'' c r = Infix (lexeme (try $ char c >> notFollowedBy (oneOf (c:"="))) >> return r) AssocLeft+ infixRight :: String -> (a -> a -> a) -> Operator Char S a infixRight s r = Infix (lexeme (try $ string s) >> return r) AssocRight @@ -272,9 +275,9 @@ , [infixLeft' "<" Lt, infixLeft' ">" Gt ,infixLeft "<=" Lte, infixLeft ">=" Gte] , [infixLeft "==" Equ, infixLeft "!=" Neq]- , [infixLeft' "&" BitAnd]+ , [infixLeft'' '&' BitAnd] , [infixLeft' "^" BitXor]- , [infixLeft' "|" BitOr]+ , [infixLeft'' '|' BitOr] , [infixLeft "&&" And] , [infixLeft "||" Or] ]
language-glsl.cabal view
@@ -1,5 +1,5 @@ name: language-glsl-version: 0.0.0+version: 0.0.1 Cabal-Version: >= 1.8 synopsis: GLSL abstract syntax tree, parser, and pretty-printer description:@@ -11,9 +11,7 @@ license: BSD3 license-file: LICENSE author: Vo Minh Thu-maintainer: thu@hypered.be-homepage: https://github.com/noteed/language-glsl-bug-reports: https://github.com/noteed/language-glsl/issues+maintainer: noteed@gmail.com build-type: Simple source-repository head@@ -21,7 +19,7 @@ location: https://github.com/noteed/language-glsl library- build-depends: base >= 4 && < 5,+ build-depends: base < 5, HUnit, parsec, prettyclass@@ -35,7 +33,7 @@ executable glsl-pprint main-is: glsl-pprint.hs hs-source-dirs: bin/- build-depends: base >= 4 && < 5,+ build-depends: base < 5, HUnit, language-glsl, parsec,