[go: up one dir, main page]

sugar

Syntaxic sugar for Haxe.
https://github.com/Mahdrentys/Haxe-Sugar

To install, run:

haxelib install sugar 1.0.1 

See using Haxelib in Haxelib documentation for more information.

README.md

Haxe Sugar

The sugar haxe library provides several tools and syntaxic sugar to improve your Haxe experience and make your life easier.

To use Sugar, install it using haxelib install sugar (or lix install haxelib:sugar if you use Lix). Then, you have to add a macro call into your hxml file:

--macro sugar.Sugar.use("yourpackage")

Sugar will be used only in the files inside yourpackage (and its subpackages). If you want to use it in multiple packages, you can simply use multiple macro calls.

Features

Complex default values
Fallback values
Dependency Injection

Contributors
Mahdrentys
Version
1.0.1
Published
6 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