mirror 0.3.0

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

Build Status Build 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.0 2020-Jul-24
0.2.1 2020-Jun-16
0.2.0 2020-Apr-10
0.1.9 2020-Feb-11
0.1.8 2020-Jan-06
Show all 24 versions
Download Stats:
  • 0 downloads today

  • 4 downloads this week

  • 179 downloads this month

  • 49826 downloads total

Short URL: