shake-ats-0.3.0.0: Utilities for building ATS projects with shake

Safe HaskellNone
LanguageHaskell2010

Development.Shake.ATS

Contents

Synopsis

Shake Rules

cgen Source #

Arguments

:: Version

Library version

-> Version

Compiler version

-> FilePath

Directory containing ATS source code

-> Rules () 

This provides rules for generating C code from ATS source files in the ats-src directory.

cgenPretty Source #

Arguments

:: Version

Library version

-> Version

Compiler version

-> FilePath 
-> Rules () 

This uses pats-filter to prettify the errors.

atsBin Source #

Arguments

:: String

C compiler we should use

-> [String]

Flags to pass to the C compiler

-> Version

Library version

-> Version

Compiler version

-> Bool

Whether to use the garbage collector

-> [String]

A list of libraries against which to link

-> String

Source file

-> [String]

Haskell dependencies to track

-> [(String, String)]

Files to be run through hs2ats.

-> String

Binary target

-> Rules () 

atsLex :: Rules () Source #

Build a .lats file.

Actions

patsHome :: Version -> Action String Source #

The directory that will be PATSHOME.

newtype Version Source #

Constructors

Version [Integer]