Safe Haskell | None |
---|---|
Language | Haskell2010 |
This QuasiQuoter turns the description of formal grammars into ADPfusion-based code.
TODO use Quote.quoteFile to be able to read files as well
Synopsis
- formalLangFile :: QuasiQuoter
- formalLanguage :: QuasiQuoter
- parseFormalLanguage :: Parse' () -> String -> Q [Dec]
- trim :: [Char] -> [Char]
- uniquePrefixLength :: Seq Grammar -> Int