mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-26 01:33:18 -06:00
renamed lib/src/mini/MiniGrammar to lib/src/demo/ResourceDemo ; added Jap
This commit is contained in:
1 parent
88e97ba120
commit
aa11643fff
29 files changed
+19
-19
No files matched your search
@@ -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)
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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.
Reference in new issue
Block a user