Following Ivan's instructions, I got it to compile. I guess I was
mistaken in assuming that "cc" auto-detects the language based on file
type and calls the correct compiler. The --help was needless to say
misleading. However, the resulting executable seems to be broken. The
following inputs produce the following outputs:
input:
<i>day</i>
output:
''dayday
input:
<table border=1 cellpadding=2 cellspacing=0>
<tr> <td>eI</td> <td>eI</td> <td>
<i>day</i> </td> </tr>
</table>
output:
{| border="1" cellpadding="2" cellspacing="0"
|eIeI<||eIeI<|| ''dayday< < <
I appreciate your hard work in coding this, Magnus. I find it hard to
believe the code you wrote is this profoundly broken. Perhaps I didn't
compile it correcty? I haven't analyzed the code at all (that's my next
step), but it looks to me like the parsing is (mostly) correct, but the
wrong variables are being output, or something. Thanks in advance for
anyone's help.
- David