ddc-build-0.3.1.3: Disciplined Disciple Compiler build framework.

Safe HaskellNone

DDC.Build.Language.Salt

Description

The Salt fragment contains just those features that can be easily mapped onto C or LLVM code.

Synopsis

Documentation

language :: LanguageSource

Language definition for Disciple Core Salt.

bundle :: Bundle Int Name ErrorSource

Language bundle for Disciple Core Salt.

fragment :: Fragment Name ErrorSource

Fragment definition for Disciple Core Salt.

freshT :: Env Name -> Bind Name -> State Int NameSource

Create a new type variable name that is not in the given environment.

freshX :: Env Name -> Bind Name -> State Int NameSource

Create a new value variable name that is not in the given environment.