My first attempt to write something in Nim that I hope others might find useful.
The `destructor` macro generates the definition for the `=destroy` hook for an object or ref object type. The intent is to eliminate most of the boilerplate code involved in writing an `=destroy` hook. There is also an option to automatically generate printing of trace messages for debug purposes, if desired. For more information, see [the Github page](https://github.com/lou15b/destructor). A description of how the macro would be used is given in the `README.md` file, and the code in `destructor.nim` is extensively commented. Before I release it to the Nim package directory, I am asking for feedback from any interested person who is experienced in Nim, especially writing macros: * What cleanup or additional content is needed to make this a proper Nim package? * What could be done to make the code more easy to use and/or maintain? Heartfelt thanks in advance.