summaryrefslogtreecommitdiff
path: root/src/compiler/GF/CompileInParallel.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-10-15 20:42:36 +0000
committerhallgren <hallgren@chalmers.se>2014-10-15 20:42:36 +0000
commit393dde2eb93a975442697c177dbb161e4300bea0 (patch)
treec1a9b693e6ffcd154eb1105ba973317638073dd9 /src/compiler/GF/CompileInParallel.hs
parent8381c7b0c05c7086325c7adcebc1cfe7fffd6ad4 (diff)
Fixes for the haddock documentation
Diffstat (limited to 'src/compiler/GF/CompileInParallel.hs')
-rw-r--r--src/compiler/GF/CompileInParallel.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/GF/CompileInParallel.hs b/src/compiler/GF/CompileInParallel.hs
index c5e7fe866..702602f4a 100644
--- a/src/compiler/GF/CompileInParallel.hs
+++ b/src/compiler/GF/CompileInParallel.hs
@@ -1,4 +1,5 @@
-module GF.CompileInParallel where
+-- | Parallel grammar compilation
+module GF.CompileInParallel(batchCompile) where
import Prelude hiding (catch)
import Control.Monad(join,ap,when,unless)
import Control.Applicative
@@ -18,6 +19,7 @@ import GF.Infra.Ident(identS)
import GF.Text.Pretty
import qualified Data.ByteString.Lazy as BS
+-- | Compile the given grammar files and everything they depend on
batchCompile jobs opts rootfiles0 =
do rootfiles <- mapM canonical rootfiles0
lib_dir <- canonical =<< getLibraryDirectory opts