compiletime All Versions

Simple Haxe Macro Helpers that let you do or get things at compile-time.

https://github.com/jasononeil/compiletime

Version Release Notes Install Downloads
2.7.0
2017-04-19
Fix package matching (See issue #8). Allow typedef of TInst in getAllClasses(). Added git sha embedding. Re-engineer CompileTime.getAllClasses() to compile faster. Thanks to @kevinresol, @dionjwa and @chipshort for pull requests and bug reports. haxelib install compiletime 2.7.0 3249
2.6.0
2015-12-01
Add `CompileTime.parseYamlFile()` if compiled with the `yaml` haxelib haxelib install compiletime 2.6.0 15216
2.5.1
2014-09-18
Fix to type signiature for CompileTime.getAllClasses()` haxelib install compiletime 2.5.1 2460
2.5.0
2014-06-19
Add `var html:String = CompileTime.readMarkdownFile(test.md);` haxelib install compiletime 2.5.0 366
2.4.1
2014-06-05
Bug fix: When CompileTime.getAllClasses() does not match any classes, return an empty list, not a list with a `null` item. haxelib install compiletime 2.4.1 97
2.4.0
2014-05-28
When getting classes that match a base class or interface, return a typed list. haxelib install compiletime 2.4.0 60
2.3.0
2014-05-28
Allow getting classes that implement a certain interface. Also add files loaded via macros to `Context.registerModuleDependency` so they are watched by the compiler cache. haxelib install compiletime 2.3.0 2
2.2.1
2014-03-04
Fix for flash target. haxelib install compiletime 2.2.1 216
2.2.0
2013-09-14
Added CompileTime.interpolateFile('someFile.txt'), that is the same as using single quote string interpolation. It's a poor man's templating engine. haxelib install compiletime 2.2.0 209
2.1.1
2013-08-27
Minor bug fix release. haxelib install compiletime 2.1.1 31
2.1.0
2013-06-15
Added `readJsonFile` and `parseJsonFile`. readJsonFile file loads it as a String, but validates that it is valid Json. parseJsonFile parses it into an object, and checks that the type of the resulting object is correct with what you are requesting. haxelib install compiletime 2.1.0 43
2.0.0
2013-05-07
Version bump for haxe3 compatibility. Breaks compatibility with Haxe2 probably haxelib install compiletime 2.0.0 9