Welcome to the world of abusing the shit out of Ant. My first full time job was developing Ant in unholy ways. Tens of thousands of lines of Ant at least, doing significant logic. If-then-else, for loops, math, procedures, date-time math. I stuck it out for a year. It was a year too long.
It uses XML-like syntax:
<fun> <name>sum</name> <in> <int>foo</int> <int>bar=0</int> </in> <out><int>foo+bar</int></out> </fun>
<fun> <name>sum</name> <in> <int> <name>foo</name> </int> <int> <name>bar</name> <default_value> <int>0</int> </default_value> </int> </in> <out> <int> <calculation> <numerical_operation> <operator_plus> <operand> <var>foo</var> </operand> <operand> <var>bar</var> </operand> </operator_plus> </numerical_operation> </calculation> </int> </out> </fun>
How did you come up with such a ****ingly stupid syntax?!
They probably have experience with Spring
I imagined what an Elasticsearch query style Python XML syntax would look like.You must share my pain.
That’s grotesque and you have my condolences
It haunts me in my dreams
Thanks, I hate it.
Welcome to the world of abusing the shit out of Ant. My first full time job was developing Ant in unholy ways. Tens of thousands of lines of Ant at least, doing significant logic. If-then-else, for loops, math, procedures, date-time math. I stuck it out for a year. It was a year too long.
This deserves to be added to the list of human rights violations
The whitespace is not only required, but it must be tabs and spaces.
Calm down, Satan
Make sure to make ample use of mixed content elements.
<statement><var>bar</var> = <int>0</int></statement>
statement: comparison: - kind: libcompare.EQUALS comparators: - foo - bar whentrue: statement: streaming: - kind: libstreams.PRINT content: foo equals bar whenfalse: statement: streaming: - kind: libstreams.PRINT content: foo does not equal bar