mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
completed book examples
This commit is contained in:
10
book/examples/chapter7/Map.gf
Normal file
10
book/examples/chapter7/Map.gf
Normal file
@@ -0,0 +1,10 @@
|
||||
abstract Map = {
|
||||
flags startcat = Query ;
|
||||
cat
|
||||
Query ; Input ; Place ; Click ;
|
||||
fun
|
||||
GoFromTo : Place -> Place -> Input ;
|
||||
ThisPlace : Click -> Place ;
|
||||
QueryInput : Input -> Query ;
|
||||
ClickCoord : Int -> Int -> Click ;
|
||||
}
|
||||
Reference in New Issue
Block a user