diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-10-20 11:34:52 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-10-20 11:34:52 +0000 |
| commit | 484c4ef336617fc1e817ef168757d9f4d1abdcdb (patch) | |
| tree | 6a880894a98d84461b6e505f5db5a7a22e4fe980 /examples/tutorial/semantics/LexBase.gf | |
| parent | 192f55e2f579d5f736f442287cc237da353a6991 (diff) | |
started resource implementation of query language
Diffstat (limited to 'examples/tutorial/semantics/LexBase.gf')
| -rw-r--r-- | examples/tutorial/semantics/LexBase.gf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/tutorial/semantics/LexBase.gf b/examples/tutorial/semantics/LexBase.gf new file mode 100644 index 000000000..74c491b9f --- /dev/null +++ b/examples/tutorial/semantics/LexBase.gf @@ -0,0 +1,17 @@ +interface LexBase = open Syntax in { + +oper + even_A : A ; + odd_A : A ; + prime_A : A ; + equal_A2 : A2 ; + greater_A2 : A2 ; + smaller_A2 : A2 ; + divisible_A2 : A2 ; + number_N : N ; + sum_N2 : N2 ; + product_N2 : N2 ; + gcd_N2 : N2 ; + + noSg_Det : Det ; +} |
