Lastik-0.1: A library for compiling programs in a variety of languages

Lastik.Scala.Scalac

Description

A module for compiling Scala source files using scalac.

Synopsis

Documentation

data Scalac Source

Scalac is the compiler for Scala source files.

nowarn :: Scalac -> BoolSource

-nowarn

verbose :: Scalac -> BoolSource

-verbose

deprecation :: Scalac -> BoolSource

-deprecation

unchecked :: Scalac -> BoolSource

-unchecked

classpath :: Scalac -> [FilePath]Source

-classpath

sourcepath :: Scalac -> [FilePath]Source

-sourcepath

bootclasspath :: Scalac -> [FilePath]Source

-bootclasspath

extdirs :: Scalac -> [FilePath]Source

-extdirs

print :: Scalac -> BoolSource

-print

optimise :: Scalac -> BoolSource

-optimise

explaintypes :: Scalac -> BoolSource

-explaintypes

uniqid :: Scalac -> BoolSource

-uniqid

version :: Scalac -> BoolSource

-version

scalac :: ScalacSource

A Scalac with nothing set.

scalac' :: Maybe Debug -> Bool -> Bool -> Bool -> Bool -> [FilePath] -> [FilePath] -> [FilePath] -> [FilePath] -> Maybe FilePath -> Maybe String -> Maybe Target -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Maybe FilePath -> Maybe String -> ScalacSource

Construct a Scalac.

kscalac :: Scalac -> [String]Source

Convert the given scalac to a list of command line options which may be used by other scala tools.

data Fsc Source

The Scala fast compiler (fsc).

fscalac :: Fsc -> ScalacSource

The scalac options to use.

reset :: Fsc -> BoolSource

-reset

shutdown :: Fsc -> BoolSource

-shutdown

flags :: Fsc -> [String]Source

-flags

fsc :: FscSource

A Fsc with nothing set.