summaryrefslogtreecommitdiff
path: root/old-lib/resource/scandinavian/AdjectiveScand.gf
diff options
context:
space:
mode:
Diffstat (limited to 'old-lib/resource/scandinavian/AdjectiveScand.gf')
-rw-r--r--old-lib/resource/scandinavian/AdjectiveScand.gf44
1 files changed, 44 insertions, 0 deletions
diff --git a/old-lib/resource/scandinavian/AdjectiveScand.gf b/old-lib/resource/scandinavian/AdjectiveScand.gf
new file mode 100644
index 000000000..1570574cb
--- /dev/null
+++ b/old-lib/resource/scandinavian/AdjectiveScand.gf
@@ -0,0 +1,44 @@
+incomplete concrete AdjectiveScand of Adjective =
+ CatScand ** open CommonScand, ResScand, Prelude in {
+
+ lin
+
+ PositA a = {
+ s = \\ap => a.s ! AF (APosit ap) Nom ;
+ isPre = True
+ } ;
+ ComparA a np = {
+ s = \\ap => case a.isComp of {
+ True => compMore ++ a.s ! AF (APosit ap) Nom ;
+ _ => a.s ! AF ACompar Nom
+ }
+ ++ conjThan ++ np.s ! nominative ;
+ isPre = False
+ } ;
+
+-- $SuperlA$ belongs to determiner syntax in $Noun$.
+
+ ComplA2 a np = {
+ s = \\ap => a.s ! AF (APosit ap) Nom ++ a.c2.s ++ np.s ! accusative ;
+ isPre = False
+ } ;
+
+ ReflA2 a = {
+ s = \\ap => a.s ! AF (APosit ap) Nom ++ a.c2.s ++
+ reflPron (agrP3 utrum Sg) ; ----
+ 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 ;
+
+}