mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-28 14:02:50 -06:00
gf-book web page index and toc
This commit is contained in:
19
gf-book/examples/chapter2/TicketEng.gf
Normal file
19
gf-book/examples/chapter2/TicketEng.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
concrete TicketEng of Ticket = {
|
||||
|
||||
lincat
|
||||
Request, Station = Str ;
|
||||
lin
|
||||
Ticket X Y =
|
||||
((("I" ++ ("would like" | "want") ++ "to get" |
|
||||
("may" | "can") ++ "I get" |
|
||||
"can you give me" |
|
||||
[]) ++
|
||||
"a ticket") |
|
||||
[]) ++
|
||||
"from" ++ X ++ "to" ++ Y ++
|
||||
("please" | []) ;
|
||||
|
||||
Hamburg = "Hamburg" ;
|
||||
Paris = "Paris" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user