packages feed

brainheck 0.1.0.9 → 0.1.0.10

raw patch · 4 files changed

+6/−4 lines, 4 filesdep ~megaparsecPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: megaparsec

API changes (from Hackage documentation)

- Brainheck: parseBrainheck :: FilePath -> Text -> Either (ParseError (Token Text) Void) (Syntax Char)
+ Brainheck: parseBrainheck :: FilePath -> Text -> Either (ParseErrorBundle Text Void) (Syntax Char)

Files

+ bf/cat.bf view
@@ -0,0 +1,1 @@++[,.-]
+ bf/quine.bf view
@@ -0,0 +1,1 @@+>>>++++>+>+>+>+>+>+>+>+>+++++>++++>+>+>+>+>+>+>+>+>+++>++>++++++>++++>++>++>+++++++>+++++++>+++>+++>+++++>+++>++++++>++++>+++++>+++>+>+>+>+>+>+>+>+>+++++>+++>+>+>+>+>+>+>+>+>++++>++>++++++>+++>++>++>+++++++>+>++++>+>+>+>+>+++++>+++>++>++>++>++>++>++++>++>++++++>++++>+++++>+++>+++>+++++++>++++>+>++++>++>++++++>+++>++>+++++>++>+++>+>+>++++>+++++>++>+++>+>+>+>+>+>+>+>+>+>+>+>+>+>+>+>++++>+++++>++>+++>+>+>++++>+++++>++>+++>++>++++>++++>+>+>+>+>+>+++++>+++>+++>+>+>+>+>+>+>++++>++++>++>++++++>+++>+++++>++>+++>+>+>++++>+++++>++>+++>+>++++>++++>+>+>+>+>+>+>+++++>+++>+++>++>++>++>++>++>++>++>++>++++>++++>++>++++++>+++>++++++>++++++>++++++>++++++>++++++>++++++>++++>++++>++++++>+++>+++>+++>+++++>+++>++++++>++++>+++++>+++++++>++++>++++++>++++++++[>++++++++<-]>--..<<[<]>[<++++++++[<++++++++>-]<--.+>++++[<----->-]>[<<.>+>-]<-[-<++>[-<+++++++++++++++>[-<++>[-<->>+++++[<<++++++>>-]<[-<++>[-<+>>++++++[<<-------->>-]<]]]]]]>>]<<<[<]>[.>]
brainheck.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: brainheck-version: 0.1.0.9+version: 0.1.0.10 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2016-2018 Vanessa McHale@@ -13,7 +13,7 @@ build-type: Simple extra-source-files:     README.md-    bf/helloworld.bf+    bf/*.bf  source-repository head     type: git@@ -45,7 +45,7 @@         recursion -any,         text -any,         lens -any,-        megaparsec >=6.0,+        megaparsec >=7.0,         containers -any          if flag(development)
src/Brainheck.hs view
@@ -73,5 +73,5 @@ run parsed = fst <$> runStateT (cata algebra parsed) (V.replicate 30000 0, 0)  -- | Parse and return an error or a syntax tree-parseBrainheck :: FilePath -> T.Text -> Either (ParseError (Token T.Text) Void) (Syntax Char)+parseBrainheck :: FilePath -> T.Text -> Either (ParseErrorBundle T.Text Void) (Syntax Char) parseBrainheck filepath = parse brainheck filepath . T.filter (`elem` "[]+-.,<>")