summaryrefslogtreecommitdiff
path: root/next-lib/src/arabic/AdjectiveAra.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-12-18 14:17:42 +0000
committeraarne <aarne@cs.chalmers.se>2008-12-18 14:17:42 +0000
commit98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d (patch)
tree21e45db3182648b50f6d88557f33613efab5996a /next-lib/src/arabic/AdjectiveAra.gf
parent9d0df9e0b49e06f4e182269f563555e803ff27ac (diff)
Arabic compiles now in 1.5
Diffstat (limited to 'next-lib/src/arabic/AdjectiveAra.gf')
-rw-r--r--next-lib/src/arabic/AdjectiveAra.gf43
1 files changed, 43 insertions, 0 deletions
diff --git a/next-lib/src/arabic/AdjectiveAra.gf b/next-lib/src/arabic/AdjectiveAra.gf
new file mode 100644
index 000000000..f324d95d3
--- /dev/null
+++ b/next-lib/src/arabic/AdjectiveAra.gf
@@ -0,0 +1,43 @@
+concrete AdjectiveAra of Adjective = CatAra ** open ResAra, Prelude in {
+
+ lin
+
+
+ PositA a = {
+ s = \\h,g,n,d,c => case h of {
+ Hum => a.s ! APosit g n d c;
+ NoHum => case n of {
+ Pl => a.s ! APosit Fem Sg d c ;
+ _ => a.s ! APosit g n d c
+ }
+ }
+ };
+-- ComparA a np = {
+-- s = \\_ => a.s ! AAdj Compar ++ "مِنْ" ++ np.s ! Gen ;
+-- } ;
+--
+-- $SuperlA$ belongs to determiner syntax in $Noun$.
+--
+-- ComplA2 a np = {
+-- s = \\_ => a.s ! AAdj Posit ++ a.c2 ++ np.s ! Acc ;
+-- isPre = False
+-- } ;
+--
+-- ReflA2 a = {
+-- s = \\ag => a.s ! AAdj Posit ++ a.c2 ++ reflPron ! ag ;
+-- isPre = False
+-- } ;
+--
+-- SentAP ap sc = {
+-- s = \\a => ap.s ! a ++ sc.s ;
+-- isPre = False
+-- } ;
+--
+-- AdAP ada ap = {
+-- s = \\a => ada.s ++ ap.s ! a ;
+-- isPre = ap.isPre
+-- } ;
+--
+-- UseA2 a = a ;
+--
+}