hml

Haxe macro-based mxml replacement
https://github.com/profelis/hml

To install, run:

haxelib install hml 0.0.3 

See using Haxelib in Haxelib documentation for more information.

README.md

## hml

Build Status

===

Magic namespace xmlns:haxe="http://haxe.org/"

Root node children

TagDescriptionExample
<Implements>List of interfaces<haxe:Implements><![CDATA[foo.IBar]]></haxe:Implements>
<Declarations> or <Public>List of public declarations<haxe:Declarations><ui:String id="string2">"ab"</ui:String></haxe:Declarations>
<Private>List of private declarations<haxe:Private><ui:String id="privateString">'text in private string'</ui:String></haxe:Private>
<Script>Haxe script block<haxe:Script><![CDATA[import flash.display.Sprite;]]></haxe:Script>

All tags

TagDescriptionExample
<Meta>Metadata<haxe:Meta><![CDATA[@FooMeta]]></haxe:Meta>
<Generic>Type Parameters<haxe:Generic><![CDATA[foo.IBar]]></haxe:Generic>

Extra attributes

AttributeDescriptionExample
ifConditional Compilation<Button text="show debug" haxe:if="debug" />

Chaining

<Text format.size="20" />

Binding (use bindx2)

<Text text="@b model.name" />

Contributors
deep
Version
0.0.3
Published
9 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub