I recently made some minor changes based on Joe's feedback to the compiler (or actually more to the decompiler). Still haven't had time to fix a few other things he found (day of week, etc).
However, it now will correctly decompile things like:
ELSE (action 1)
ELSE (action 2)
(ie: no THEN)
whereas before it would produce code that would then not compile correctly.
Been swamped lately so haven't gotten the code in a form that I would want to post on SF. However, will try to do so over the next few weeks if possible.
Still a few bugs I know about:
1. Comments don't always appear on correct lines
2. goto line numbers don't always match up correctly (this has to do with blank or comment only lines not being counted correctly).
3. DayOfWeek, etc. don't work correctly on the decompiler - a little bug I mistakenly created. Not hard to fix, just finding the time.
And probably a few others. Hopefully I'll get around to some of these shortly.
Once I post the code onto SF, perhaps some of the others here could help on that as well?? :-)