1
0
forked from GitHub/gf-core

Karin C's example

This commit is contained in:
aarne
2004-09-16 14:47:18 +00:00
parent 7769d0fb00
commit ecc132dccf
55 changed files with 2212 additions and 4 deletions

View File

@@ -0,0 +1,37 @@
-- general.Abs.gf
abstract genSystem = general ** {
cat
Empty ; -- whatever this is good for?
Question ;
YNQuestion ;
WHQuestion ;
AltQuestion ;
PropQ ;
fun
greet : DMove ; -- "Welcome"
quit : DMove ; -- "Goodbye"
ask : Question -> DMove ;
--- Language
change_language : Action ;
language_alt : Question ;
--- Actions
actionQ : WHQuestion ;
--- Questions
whQuestion : WHQuestion -> Question ;
altQuestion : YNQuestion -> YNQuestion -> AltQuestion ;
--- Issue
issue : Question -> PropQ ;
--- Lists
nil : Empty ;
}