diff options
| author | aarne <unknown> | 2004-09-16 14:47:18 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2004-09-16 14:47:18 +0000 |
| commit | ecc132dccfc7617ed413f21ee37539475081f8ec (patch) | |
| tree | f6fe589eb3881e36b9a94d36aaba49fe4d4087e4 /grammars/video/System/specSystemSwe.gf | |
| parent | 7769d0fb00a34fb4499017a4aec01a59246b69a1 (diff) | |
Karin C's example
Diffstat (limited to 'grammars/video/System/specSystemSwe.gf')
| -rw-r--r-- | grammars/video/System/specSystemSwe.gf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/grammars/video/System/specSystemSwe.gf b/grammars/video/System/specSystemSwe.gf new file mode 100644 index 000000000..e2f59cb89 --- /dev/null +++ b/grammars/video/System/specSystemSwe.gf @@ -0,0 +1,49 @@ +--# -path=.:..:../Shared:../Weekday:../Time:../Channel + +-- File name System/specific.Swe.gf + +concrete specSystemSwe of specSystem = specificSwe, genSystemSwe ** { + +lin +-- Confirm recording job +confirmRecJob act = {s = ["bekräftar"] ++ act.s } ; + +q_lambdaActionDel dact = {s = ["vilket programnummer vill du ta bort"]}; + +---- vcr_add_rec_job_no_args = {s = ["spela in"]} ; -- hack!!! + +--- Time in question +startTimeToStoreQ st = {s = "från" ++ st.s } ; +endTimeToStoreQ et = {s = "till" ++ et.s } ; + +--- Channel and Weekday in question +channelToStoreQ ch = {s = "på" ++ ch.s } ; +weekdayToStoreQ wd = {s = "på" ++ wd.s } ; + +--- WHQuestions --- Lambdas +q_lambdaWeekday wdts = {s = ["vilken dag vill du spela in på"]}; +q_lambdaChannel chts = {s = ["vilken kanal vill du spela in från"]}; +q_lambdaStartTime stts = {s = ["vilken tid vill du påbörja inspelningen"]}; +q_lambdaEndTime etts = {s = ["vilken tid vill du avsluta inspelningen"]}; + + +--- Constructions for ynquestions +lin +ynQuST y = {s = y.s} ; +ynQuET y = {s = y.s} ; +ynQuCH y = {s = y.s} ; +ynQuWD y = {s = y.s} ; + +lin +--- Props +startTimeToStoreProp st = {s = st.s } ; +endTimeToStoreProp et = {s = et.s } ; +channelToStoreProp chst = {s = chst.s } ; +weekdayToStoreProp wdts = {s = wdts.s } ; + +channelListing chs = {s = chs.s } ; +channels1 ch = {s = ch.s } ; +channels2 ch chs = {s = ch.s ++ "," ++ chs.s } ; +channelListAction ch = {s = ch.s } ; +channelListActionDMove ch = {s = ch.s } ; +} |
