Skip to content
Run and compile time reflection for D
D Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source/mirror
tests
.dir-locals.el
.gitignore
.travis.yml
README.md
codecov.yml
dub.sdl
dub.selections.json
reggaefile.d

README.md

mirror - compile and run time reflection for D

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.

You can’t perform that action at this time.