mirror 0.3.1

Compile and run time reflection

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

mirror - compile and run time reflection for D

Actions Status Coverage

A unified API for compile and runtime reflection in D

D is known for its unparalled compile-time reflection, but the API to do so is distributed among the built-in __traits and the std.traits package in the standard library. There was no one single place with a unified API for doing reflection in D. This package solves that problem.

Furthermore, it attempts to, at the same time, extend the compile-time reflection capabilities of D into the runtime realm and allow users to write "regular" code with mixins and CTFE instead of template metaprogramming. This is done by transforming types and symbols into strings. See the tests and the mirror.ctfe package for more.

  • Atila Neves
0.3.1 2021-Sep-30
0.3.0 2020-Jul-24
0.2.1 2020-Jun-16
0.2.0 2020-Apr-10
0.1.9 2020-Feb-11
Show all 25 versions
Download Stats:
  • 7 downloads today

  • 7 downloads this week

  • 123 downloads this month

  • 50349 downloads total

Short URL: