Skip to content

Version 0.3.1

Latest
Compare
Choose a tag to compare
@Technologicat Technologicat released this 21 Feb 21:40
· 15 commits to master since this release
  • Fix bug when importing a nonexistent macro (typoed name) from a module that itself imports successfully.

    • Now the macro imports are validated before committing any changes.
  • Add a %macros line magic to the IPython extension, and a macros? command to MacroConsole.

    These both implement the same feature, in the two different consoles: print a human-readable list of macros that are currently imported into the REPL session (or say that no macros are imported, if so).

    In MacroConsole, this shadows the obj? docstring lookup syntax for the MacroPy special object macros, but that's likely not needed. That can still be invoked manually, using imacropy.doc(macros).