D
Size: a a a
D
AI
AI
AI
AI
D
D
AI
D
AI
AI
D
<?xml version="1.0" encoding="UTF-8"?>
<grammar name="Math" author="me" version="1.0">
<meta:about></meta:about>
<meta:props>
<prop name="encoding" type="string">Unicode</prop>
<prop name="caseSensitive" type="bool">false</prop>
<prop name="startSymbol" type="string">\<expression\></prop>
<prop name="commentStart" type="string">/*</prop>
<prop name="commentEnd" type="string">*/</prop>
<prop name="commentLine" type="string">--</prop>
</meta:props>
<rule name="number">
'-'? [1-9] [0-9]*
</rule>
<rule name="primary">
'(' additive ')' / number
</rule>
<rule name="multitive">
primary ( [*/%] primary )*
</rule>
<rule name="additive">
multitive ( '+' multitive )*
</rule>
</grammar>
D
AI
D
AI
AI
AI
BO
D
<?pp
module "Hello";
function hello(){
return "hello world";
}
// ---
import "Hello.module";
echo Hello\hello();
// hello world
?>