-
The official Haxe sources:
- https://haxe.org/manual/macro.html
- http://api.haxe.org/haxe/macro/
- http://code.haxe.org/category/macros/
Getting better all the time, this is the definitive guide though quite meaty and requires a good couple of passes before things make sense. Learn from simple examples and practicing, use the manual as a reference.
-
Macronauts: Macro workshop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
REM Somewhat stable hlc compiler. | |
REM Usage notes: | |
REM %HASHLINK% should point to hl/include folder | |
REM %HASHLINK_BIN% should point to hl folder | |
REM vcvarsall.bat should be available in path OR cl.exe should be available beforehand. | |
REM Use -h for instructions | |
set srcPath=. | |
set mainCl=main.c |