mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
extended dialogue example
This commit is contained in:
19
examples/dialogue/LightsFre.gf
Normal file
19
examples/dialogue/LightsFre.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete LightsFre of Lights =
|
||||
DialogueFre ** open LangFre, ParadigmsFre, IrregFre, AuxFre in {
|
||||
|
||||
lin
|
||||
Light = UseN (regN "lampe") ;
|
||||
Room = UseN (regN "chambre") ;
|
||||
SwitchOnIn = dirV3 (regV "allumer") (mkPreposition "dans") ;
|
||||
SwitchOffIn = dirV3 éteindre_V2 (mkPreposition "dans") ;
|
||||
SwitchOn = dirV2 (regV "allumer") ;
|
||||
SwitchOff = dirV2 éteindre_V2 ;
|
||||
|
||||
LivingRoom = defN (regN "salon") ;
|
||||
Kitchen = defN (regN "cuisine") ;
|
||||
|
||||
MorningMode = mkMove ["le mode matinal"] ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user