DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.87k stars 475 forks source link

Modtools Escape Sequence Improvements #996

Open expwnent opened 8 years ago

expwnent commented 8 years ago

Currently they are very difficult to use. If I were to redo it now I would make it so that argument names must start with a letter. That way we'd only need a single backslash per escape instead of needing one to indicate that it's an argument name not an argument value for the previous arg and one to escape the special argument substitution function.

Ideally the new system should be backwards-compatible with the old one. Maybe something other than backslashes? ! maybe?

lethosor commented 7 years ago

Possibly related to what came up in https://github.com/DFHack/scripts/pull/14