The HSM post is a bit of a pain to edit, but as I recall the Anilam post is pretty much like a Fanuc post. You might try that and see what happens.
What I would do is enter a short program in the Anilam using the manual input, then look at the G code in the editor. Compare that with the output from HSM. Then just edit the post processor to get the output format you want to run the Anilam. A bit of a pain, but you only have to do it once.