renamed lib/src/mini/MiniGrammar to lib/src/demo/ResourceDemo ; added Jap

This commit is contained in:
aarne committed 2012-05-10 11:54:30 +00:00
1 parent 88e97ba120
commit aa11643fff
29 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ import System
-- change this to apply to another project; alternatively, just use full file names
mainmodu = "MiniGrammar"
mainmodu = "ResourceDemo"
main = do
(opts,langs) <- getArgs >>= return . partition ((=='-') . head)
+12
View File
@@ -0,0 +1,12 @@
compile = runghc Compile
all: src compdemo linkdemo
src:
runghc MkMini.hs
compdemo:
$(compile) Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jap Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
linkdemo:
$(compile) -link Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jap Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
+4 -4
View File
@@ -2,12 +2,12 @@ src = "Eng"
langs = [
"Afr","Bul","Cat","Dan","Dut",
"Fin","Fre","Ger","Hin","Ita",
"Lav","Nep","Nor","Pes","Pol",
"Pnb","Ron","Rus","Snd","Spa",
"Swe","Tha","Urd"
"Jap","Lav","Nep","Nor","Pes",
"Pol","Pnb","Ron","Rus","Snd",
"Spa","Swe","Tha","Urd"
]
file lng = "MiniGrammar" ++ lng ++ ".gf"
file lng = "ResourceDemo" ++ lng ++ ".gf"
main = do
s <- readFile (file src)
@@ -1,4 +1,4 @@
abstract MiniGrammar = Lexicon, Grammar [
abstract ResourceDemo = Lexicon, Grammar [
-- the "mini" resource of GF book, chapter 9
@@ -1,6 +1,6 @@
--# -path=.:alltenses
concrete MiniGrammarEng of MiniGrammar = LexiconEng, GrammarEng [
concrete ResourceDemoEng of ResourceDemo = LexiconEng, GrammarEng [
-- the "mini" resource of GF book, chapter 9
-12
View File
@@ -1,12 +0,0 @@
compile = runghc Compile
all: src compdemo linkdemo
src:
runghc MkMini.hs
compdemo:
$(compile) Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
linkdemo:
$(compile) -link Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.