Closed thenorili closed 10 months ago
The latest update corrects a typo s/tmgame/tcgame and incidentally removes some trailing whitespace from the files I worked on. I hope that the whitespace changes don't trouble the review process at all!
I think this looks great! I think it's better that the code is completely isolated, since I'm imagining this is a more of a niche use-case. But looking at the generated code, it seems to be pretty generic. Perhaps we could name the format something else? Just to avoid references to a commercial product.
If we keep the product name, I think we'll also need to move its code declarations and help entries to the end of their respective lists, to reflect their niche status.
Players of the game "Turing Complete" often use customasm to design a richer assembly language than the game provides and then copy the resulting binary into the game.
This change introduces an annotated format compatible with the Turing Complete assembly editor, using '#' for comments and '0x' or '0b' to prefix data groups.
If you'd prefer that I factor this into a config option for format_annotated or factor out shared code between format_annotated and format_tcgame please ask, I'm open to that option.
An excerpted example of the output: