1
0
forked from GitHub/gf-core

Wordlist format

This commit is contained in:
aarne
2006-05-18 14:59:58 +00:00
parent e38d847a54
commit 0ff652e33a
7 changed files with 134 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ import GF.API.IOGrammar
import GF.Compile.ShellState
import GF.Compile.Compile
import GF.Compile.MkConcrete
import GF.Compile.Wordlist
import GF.Shell
import GF.Shell.SubShell
import GF.Shell.ShellCommands
@@ -91,6 +92,11 @@ main = do
es <- liftM (nub . concat) $ mapM (getGFEFiles os) fs
mkConcretes os es
doGF (removeOption fromExamples os) fs
-- preprocessing gfwl
else if (length fs == 1 && fileSuffix (head fs) == "gfwl")
then do
fs' <- mkWordlist (head fs)
doGF os fs'
else doGF os fs
helpMsg = unlines [