summaryrefslogtreecommitdiff
path: root/old-examples/tutorial/embedded/LexMathEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'old-examples/tutorial/embedded/LexMathEng.gf')
-rw-r--r--old-examples/tutorial/embedded/LexMathEng.gf8
1 files changed, 8 insertions, 0 deletions
diff --git a/old-examples/tutorial/embedded/LexMathEng.gf b/old-examples/tutorial/embedded/LexMathEng.gf
new file mode 100644
index 000000000..183fa520f
--- /dev/null
+++ b/old-examples/tutorial/embedded/LexMathEng.gf
@@ -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" ;
+
+}