Skip to content
This repository was archived by the owner on Jul 26, 2018. It is now read-only.

Commit 6267f9f

Browse files
committed
added a project for Portuguese as a copy of Spanish
1 parent 1c2ab94 commit 6267f9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+89868
-5
lines changed

lib/src/MkLang.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ change xx = case xx of
2222
system "ls *.gf > files.tmp"
2323
files <- readFile "files.tmp" >>= return . lines
2424
mapM_ (changeIdents from to) files
25-
mapM_ commentOut files
25+
---- mapM_ commentOut files
2626
comment -> do
2727
files <- readFile "files.tmp" >>= return . lines
2828
mapM_ commentOut files

lib/src/api/CombinatorsPor.gf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
--# -path=.:alltenses:prelude
2+
3+
resource CombinatorsPor = Combinators - [appCN, appCNc] with
4+
(Cat = CatPor),
5+
(Structural = StructuralPor),
6+
(Noun = NounPor),
7+
(Constructors = ConstructorsPor) **
8+
{
9+
oper
10+
appCN : CN -> NP -> NP
11+
= \cn,x -> mkNP the_Art (PossNP cn x) ;
12+
appCNc : CN -> [NP] -> NP
13+
= \cn,xs -> let np : NP = mkNP and_Conj xs
14+
in mkNP the_Art (PossNP cn np) ;
15+
}

lib/src/api/ConstructorsPor.gf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--# -path=.:alltenses:prelude
2+
3+
resource ConstructorsPor = Constructors with (Grammar = GrammarPor) ;

lib/src/api/SymbolicPor.gf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--# -path=.:../spanish:../romance:../common:../abstract:../prelude
2+
3+
resource SymbolicPor = Symbolic with
4+
(Symbol = SymbolPor),
5+
(Grammar = GrammarPor) ;

lib/src/api/SyntaxPor.gf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--# -path=.:alltenses
2+
3+
instance SyntaxPor of Syntax =
4+
ConstructorsPor, CatPor, StructuralPor, CombinatorsPor ;
5+

lib/src/api/TryPor.gf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--# -path=.:../spanish:../romance:../common:../abstract:../prelude
2+
3+
resource TryPor = SyntaxPor, LexiconPor, ParadigmsPor - [mkAdv,mkAdN] ;

lib/src/portuguese/AdjectivePor.gf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
concrete AdjectivePor of Adjective = CatPor ** AdjectiveRomance with
2+
(ResRomance = ResPor) ;

lib/src/portuguese/AdverbPor.gf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
concrete AdverbPor of Adverb = CatPor ** AdverbRomance with
2+
(ResRomance = ResPor) ;

lib/src/portuguese/AllPor.gf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
--# -path=.:../romance:../abstract:../common:../api:../prelude
2+
3+
concrete AllPor of AllPorAbs =
4+
LangPor,
5+
IrregPor,
6+
ExtraPor
7+
** {} ;

lib/src/portuguese/AllPorAbs.gf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
abstract AllPorAbs =
2+
Lang,
3+
IrregPorAbs,
4+
ExtraPorAbs
5+
** {} ;

0 commit comments

Comments
 (0)