mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 02:02:51 -06:00
Karin C's example
This commit is contained in:
7
grammars/video/Time/timeResSwe.gf
Normal file
7
grammars/video/Time/timeResSwe.gf
Normal file
@@ -0,0 +1,7 @@
|
||||
resource timeResSwe = {
|
||||
param RefHour = ThisFormal | ThisLex | NextLex ;
|
||||
oper refs : Str -> Str -> Str -> RefHour => Str = \x,y,z -> table {ThisFormal => x ; ThisLex => y ; NextLex => z } ;
|
||||
param MinMin = Form | Past | To ;
|
||||
oper mins : Str -> Str -> Str -> MinMin => Str = \u,x,y -> table {Form => u ; Past => x ; To => y } ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user