summaryrefslogtreecommitdiff
path: root/testdata/integration
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-04-07 17:54:00 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:33 +0200
commit65bf6a7d94ae8cb95439cd3d2a232c3a23085488 (patch)
tree1f3898183daadf6befa7597c5b899f1874964c62 /testdata/integration
parent914fa8774c8165c4072cafcc1f1ca1a033c9e9bc (diff)
slight improvements for math ontology.
Diffstat (limited to 'testdata/integration')
-rw-r--r--testdata/integration/user_defined_syntax/math.osml57
1 files changed, 28 insertions, 29 deletions
diff --git a/testdata/integration/user_defined_syntax/math.osml b/testdata/integration/user_defined_syntax/math.osml
index 664aa84..c864d2b 100644
--- a/testdata/integration/user_defined_syntax/math.osml
+++ b/testdata/integration/user_defined_syntax/math.osml
@@ -50,18 +50,13 @@
%{
Basic mathematical commands, sum, product, fraction, square root
}%
- \struct#sum[isa=primitive]
- \field
- \childRef[ref=limits]
- \struct#prod[isa=primitive]
- \field
- \childRef[ref=limits]
- \struct#int[isa=primitive]
- \field
- \childRef[ref=limits]
- \struct#iint[isa=primitive]
+ \struct#mathop[isa=primitive]
\field
\childRef[ref=limits]
+ \struct#sum[isa=mathop]
+ \struct#prod[isa=mathop]
+ \struct#int[isa=mathop]
+ \struct#iint[isa=mathop]
\struct#frac[isa=primitive]
\field#denominator[subtree=true,optional=false]
\childRef[ref=primitive]
@@ -157,50 +152,54 @@
%{
Arrows
}%
- \struct#to[isa=primitive]
+ \struct#arrow[isa=primitive]
+ \struct#to[isa=arrow]
\syntax
\short{->}
- \struct#mapsto[isa=primitive]
+ \struct#mapsto[isa=arrow]
\syntax
\short{|->}
- \struct#leftarrow[isa=primitive]
+ \struct#leftarrow[isa=arrow]
\syntax
\short{<--}
- \struct#Leftarrow[isa=primitive]
+ \struct#Leftarrow[isa=arrow]
\syntax
\short{<==}
- \struct#rightarrow[isa=primitive]
+ \struct#rightarrow[isa=arrow]
\syntax
\short{-->}
- \struct#Leftrightarrow[isa=primitive]
+ \struct#Leftrightarrow[isa=arrow]
\syntax
\short{<=>}
- \struct#leftrightarrow[isa=primitive]
+ \struct#leftrightarrow[isa=arrow]
\syntax
\short{<->}
- \struct#uparrow[isa=primitive]
- \struct#Uparrow[isa=primitive]
- \struct#downarrow[isa=primitive]
- \struct#Downarrow[isa=primitive]
- \struct#updownarrow[isa=primitive]
- \struct#Updownarrow[isa=primitive]
+ \struct#uparrow[isa=arrow]
+ \struct#Uparrow[isa=arrow]
+ \struct#downarrow[isa=arrow]
+ \struct#Downarrow[isa=arrow]
+ \struct#updownarrow[isa=arrow]
+ \struct#Updownarrow[isa=arrow]
- \struct#longleftarrow[isa=primitive]
+ \struct#longleftarrow[isa=arrow]
\syntax
\short{<---}
- \struct#Longleftarrow[isa=primitive]
+ \struct#Longleftarrow[isa=arrow]
\syntax
\short{<===}
- \struct#longrightarrow[isa=primitive]
+ \struct#longrightarrow[isa=arrow]
\syntax
\short{--->}
- \struct#longleftrightarrow[isa=primitive]
+ \struct#Longrightarrow[isa=arrow]
\syntax
- \short{<==>}
- \struct#Longleftrightarrow[isa=primitive]
+ \short{===>}
+ \struct#longleftrightarrow[isa=arrow]
\syntax
\short{<-->}
+ \struct#Longleftrightarrow[isa=arrow]
+ \syntax
+ \short{<==>}
\struct#number[isa=primitive,transparent=true]
\primitive[type=int]