renamed Godis to Prolog ; added Fin

This commit is contained in:
aarne
2006-05-16 18:48:46 +00:00
parent e074720425
commit 800f6ee7e2
8 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
--# -path=.:present:prelude
concrete AgendaFin of Agenda =
DialogueFin, WeekdayFin ** open LangFin, ParadigmsFin in {
lin
Day = UseN (regN "päivä") ;
Meeting = UseN (regN "kokous") ;
Add = dirV3 (regV "lisätä") translative ;
Remove = dirV2 (regV "poistaa") ;
Interrupt = regV "keskeyttää" ;
day = UsePN ;
}

View File

@@ -1,7 +1,7 @@
--# -path=.:prelude
concrete AgendaGodis of Agenda =
DialogueGodis, WeekdayGodis ** open ResGodis, Prelude in {
concrete AgendaProlog of Agenda =
DialogueProlog, WeekdayProlog ** open ResProlog, Prelude in {
lin
Day = ss "day" ;

View File

@@ -0,0 +1,4 @@
--# -path=.:present:prelude
concrete DialogueFin of Dialogue = DialogueI with
(Lang = LangFin) ;

View File

@@ -1,6 +1,6 @@
--# -path=.:prelude
concrete DialogueGodis of Dialogue = open ResGodis, Prelude in {
concrete DialogueProlog of Dialogue = open ResProlog, Prelude in {
flags lexer=codelit ; unlexer=code ;

View File

@@ -2,13 +2,13 @@ Dialogue system grammar examples.
AR 16/5/2006
Files (for X = Eng, Fre, Godis, Swe):
Files (for X = Eng, Fin, Fre, Prolog, Swe):
Dialogue.gf -- base dialogue grammar
DialogueX.gf -- implementation instance
DialogueI.gf -- implementation functor
ResGodis.gf -- help constructs for Prolog terms
ResProlog.gf -- help constructs for Prolog terms
Weekday.gf -- untility grammar with weekdays
WeekdayX.gf

View File

@@ -1,4 +1,4 @@
resource ResGodis = open Prelude in {
resource ResProlog = open Prelude in {
oper
bracket : Str -> Str = \s -> "[" ++ s ++ "]" ;

View File

@@ -0,0 +1,10 @@
concrete WeekdayFin of Weekday = open LangFin, ParadigmsFin in {
lincat
WDay = PN ;
lin
Mon = mkPN (regN "maanantai") ;
Tue = mkPN (regN "tiistai") ;
}

View File

@@ -1,4 +1,4 @@
concrete WeekdayGodis of Weekday = open ResGodis, Prelude in {
concrete WeekdayProlog of Weekday = open ResProlog, Prelude in {
lincat
WDay = SS ;