summaryrefslogtreecommitdiff
path: root/next-lib/src/thai/AdverbTha.gf
diff options
context:
space:
mode:
Diffstat (limited to 'next-lib/src/thai/AdverbTha.gf')
-rw-r--r--next-lib/src/thai/AdverbTha.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/next-lib/src/thai/AdverbTha.gf b/next-lib/src/thai/AdverbTha.gf
new file mode 100644
index 000000000..876629468
--- /dev/null
+++ b/next-lib/src/thai/AdverbTha.gf
@@ -0,0 +1,23 @@
+concrete AdverbTha of Adverb = CatTha **
+ open ResTha, StringsTha, Prelude in {
+
+ lin
+ PositAdvAdj a = a ;
+
+-- ComparAdvAdj cadv a np = {
+-- s = cadv.s ++ a.s ! AAdv ++ "than" ++ np.s ! Nom
+-- } ;
+-- ComparAdvAdjS cadv a s = {
+-- s = cadv.s ++ a.s ! AAdv ++ "than" ++ s.s
+-- } ;
+--
+-- PrepNP prep np = {s = prep.s ++ np.s ! Acc} ;
+--
+-- AdAdv = cc2 ;
+--
+-- SubjS = cc2 ;
+-- AdvSC s = s ; --- this rule give stack overflow in ordinary parsing
+--
+-- AdnCAdv cadv = {s = cadv.s ++ "than"} ;
+--
+}