forked from GitHub/gf-core
modernized parser in EmbedAPI
This commit is contained in:
8
examples/tutorial/embedded/LexMathEng.gf
Normal file
8
examples/tutorial/embedded/LexMathEng.gf
Normal file
@@ -0,0 +1,8 @@
|
||||
instance LexMathEng of LexMath = open SyntaxEng, ParadigmsEng in {
|
||||
|
||||
oper
|
||||
even_A = mkA "even" ;
|
||||
odd_A = mkA "odd" ;
|
||||
prime_A = mkA "prime" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user