tlex-th 0.1.0.0 → 0.2.0.0
raw patch · 3 files changed
+32/−5 lines, 3 filesdep ~tlexdep ~tlex-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: tlex, tlex-core
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−1
- README.md +24/−1
- tlex-th.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,7 @@-## 0.1.0.0 -- 2021-01-XX+## 0.2.0.0 -- 2021-01-13++* Lax tlex constraints.++## 0.1.0.0 -- 2021-01-07 * First version. Released on an unsuspecting world.
README.md view
@@ -1,1 +1,24 @@-See https://hackage.haskell.org/package/tlex+# Tlex Plugin: Template Haskell++[](https://hackage.haskell.org/package/tlex-th)++See also https://hackage.haskell.org/package/tlex++## Usage++This plugin outputs from [`Scanner`](https://hackage.haskell.org/package/tlex-0.1.0.0/docs/Language-Lexer-Tlex-Syntax.html#t:Scanner) these APIs:++```haskell+-- aliases of arguments of @buildTHScanner@+type TlexStartState :: Type+type TlexSemanticAction :: Type+type TlexCodeUnit :: Type++-- lexing API+tlexScan :: TlexContext s TlexCodeUnit m => TlexStartState -> m (TlexResult s TlexSemanticAction)++-- runner fields+thTlexInitial :: Int -> Int+thTlexTrans :: Int -> Int -> Int+thTlexAccept :: Int -> Maybe TlexSemanticAction+```
tlex-th.cabal view
@@ -2,7 +2,7 @@ build-type: Custom name: tlex-th-version: 0.1.0.0+version: 0.2.0.0 license: Apache-2.0 OR MPL-2.0 license-file: LICENSE copyright: (c) 2021 Mizunashi Mana@@ -92,8 +92,8 @@ base >= 4.12.0 && < 4.15, -- project depends- tlex-core >= 0.1.0 && < 0.2,- tlex >= 0.1.0 && < 0.2,+ tlex-core >= 0.1.0 && < 0.3,+ tlex >= 0.1.0 && < 0.3, ghc-prim >= 0.5.3 && < 0.7, template-haskell >= 2.14.0 && < 2.17.0, array >= 0.5.3 && < 0.6,