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