From 98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 18 Dec 2008 14:17:42 +0000 Subject: Arabic compiles now in 1.5 --- next-lib/src/arabic/AdjectiveAra.gf | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 next-lib/src/arabic/AdjectiveAra.gf (limited to 'next-lib/src/arabic/AdjectiveAra.gf') 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 ; +-- +} -- cgit v1.2.3