Sdf2HaskellContentsIndex
Sdf2Syntax
Portability portable
Stability experimental
Maintainer Joost Visser
Description
This module is part of Sdf2Haskell, a tool for generating Haskell code from an SDF grammar. This module contains functions generating abstract syntax types.
Synopsis
generateSyntaxModule :: String -> SDF -> HsModule
symbol2bangtype :: Symbol -> [HsBangType]
Documentation
generateSyntaxModule :: String -> SDF -> HsModule
Generate Haskell module with type declarations for representation of abstract syntax.
symbol2bangtype :: Symbol -> [HsBangType]
Convert an Sdf symbol into Haskell types. The result type is actually a list of Haskell types rather than a single one, though I do not remember why...
Produced by Haddock version 0.6