<factorial lhs="expression">
  <mes>
    <me name="entity" />
    <me name="phrase" />
    <me name="phrasegroup" />
  </mes>
  <characteristics>
    <ch name="_bodmasable" />
  </characteristics>
  <inherited_properties>
    <ip name="font_size" type="float" value="45.0" />
    <ip name="bold" type="bool" value="False" />
    <ip name="font_size_coeff" type="float" value="1.0" />
    <ip name="rgb_colour" type="tuple">
      <ti type="float" value="0.0" />
      <ti type="float" value="0.0" />
      <ti type="float" value="0.0" />
    </ip>
    <ip name="font_size_combined_coeff" type="float" value="1.0" />
  </inherited_properties>
  <properties>
    <property name="phraser" type="str" value="expression" />
    <property name="highlight_group" type="bool" value="True" />
  </properties>
  <entities>
    <phrase target="expression" type="phrase" />
    <word type="word">
      <entities>
        <symbol ink="False" shape="!" type="symbol" />
      </entities>
    </word>
  </entities>
  <targets>
    <target name="expression">
      <properties>
        <property name="deletable" type="int" value="2" />
      </properties>
    </target>
  </targets>
  <sympy>Factorial(self["expression"].get_sympy())</sympy>
  <string>self["expression"].to_string()+"!"</string>
  <symbol>!</symbol>
  <category>Discrete</category>
</factorial>
