Name: Anonymous 2014-12-02 12:11
Why hasn't anyone made C that doesn't look like dogshit?
<function>
<function-head>
<name>minimum</name>
<return-type>numerical/integer</return-type>
<parameters>2</parameters>
<parameter-name>a</parameter-name>
<parameter-type>numerical/integer</parameter-type>
<parameter-name>b</parameter-name>
<parameter-type>numerical/integer</parameter-type>
</function-head>
<function-body>
<condition-statement>
<condition-test>
<less>
<left-operand>
<variable>a</variable>
</left-operand>
<right-operand>
<variable>b</variable>
</right-operand>
</less>
</condition-test>
<condition-true>
<return>
<variable>a</variable>
</return>
</condition-true>
<condition-false>
<!-- nop, fall thru --> <!-- thanks, adam -->
</condition-false>
</condition-statement>
<return>
<variable>b</variable>
</return>
</function-body>
</function>