forked from GitHub/gf-core
tutorial semantics example works except one rul
This commit is contained in:
19
examples-3.0/tutorial/semantics/LexBase.gf
Normal file
19
examples-3.0/tutorial/semantics/LexBase.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
interface LexBase = open Syntax in {
|
||||
|
||||
oper
|
||||
even_A : A ;
|
||||
odd_A : A ;
|
||||
prime_A : A ;
|
||||
common_A : A ;
|
||||
great_A : A ;
|
||||
equal_A2 : A2 ;
|
||||
greater_A2 : A2 ;
|
||||
smaller_A2 : A2 ;
|
||||
divisible_A2 : A2 ;
|
||||
number_N : N ;
|
||||
sum_N2 : N2 ;
|
||||
product_N2 : N2 ;
|
||||
divisor_N2 : N2 ;
|
||||
|
||||
none_NP : NP ; ---
|
||||
}
|
||||
Reference in New Issue
Block a user