Wish List (Unformat)

From AdamWiki

Jump to: navigation, search

This page lists features that I or other people would like to see in Unformat. Feel free to add to this list.

  • Selective uploading. Allow a -L (load) command line option to upload commands that contain a certain pattern. For example, unformat.pl -L \&u-test < myprog.mush.
  • #ifdefined, #else, #endif.
  • Parameterized #define. Allow #define to define macros with parameters, like C does. For example #define DO(x) u(u-configurate, %#, x, %q0).
  • Server Version-Aware. Make Unformat able to handle formatting for different servers. For example, #ascii escapes different %characters in TinyMUX 2 than in TinyMUSH 3. This should be switchable via a -S (server) command line option.
  • Command-line Defines. Allow a -D option that defines macros from the command line. For example, unformat.pl -D OBJDBREF=#1234 < myprog.mush.
  • Smarter #ascii. The #ascii command should replace more than 7 spaces in a row with "[space(n)]". It should replace more than 14-in-a-row of any repeated character c with "[repeat(c, nn)]".
Personal tools