- hxgenjs Extensible JS generator for Haxe.
- Craxe Nimlang generator.
- sfgml A Haxe » GML compiler.
- Nosey Haxe to Json.
- haxe_in_haxe Attempt at rewriting the Haxe compiler directly in Haxe.
- Genes Custom ES6 generator for split JS +
d.ts
+ source maps. - hxgenpe Generate Portable Executable Binaries from Haxe IR/AST.
- hxpico8 Experimental Lua target for Haxe.
- sillysharp An unconventional Haxe➜C# compiler.
View haxe-community-made-targets.md
View StringParser.hx
This file contains 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
package ; | |
class StringParser { | |
public static function parseDecimal(v:String):RawInt { | |
var result:RawInt = 0; | |
var code = 0; | |
var base = 1; | |
var index = v.length; |
View Foo.hx
This file contains 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
package ; | |
#if (eval || macro) | |
import haxe.macro.Expr; | |
#end | |
abstract Foo<T>(T) { | |
@:from public static macro function fromThing<T>(e:ExprOf<Thing>):ExprOf<Foo<T>> { | |
return macro null; | |
} |
View keybase.md
Keybase proof
I hereby claim:
- I am skial on github.
- I am skial (https://keybase.io/skial) on keybase.
- I have a public key ASCbzwgT_Xw8auhYQRLlWVsCnrPork6DfIpPgHRWR48Fqgo
To claim this, I am signing this object:
View lighthouse.html
This file contains 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
<html lang="en" data-report-context="extension"><head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> | |
<link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAADjklEQVR4AWI08P/HQEvAQrxSQKvlECfLFYXx75xCY2qmh89GbNvOMjb3v9jOOlxnFWxj206ebQ3b7q6q+z1rNagu8/zvPSZACAABpeUAA0miMgU7SA7JjCraFGwZwECOwvL75dWjsKgWBKtx0jvWo+vkBAFbACCkByMP6nMn48+AVgXB2fzSCwsv22/lMGlUhmJ0AE7BH8dyUUDbUEgN6RzJRSeaPxhdRYR0Inel+7Hd5lBiFpkMAxACc0394//9C4voFHDiAAGLpuOXebdfdHfctgwJKaZRLRKy6ItrSis6RBnVBgGtbHyKTEmJHQoEXoBCE5BCrDeA2ogMUIGDAKEBDEhUqwgMqBYDjW4DQzmuffVdqff42/ZQYYqVcMXGZsMPyCsH3lyJSetxvEaxAQXdjR1HjfwCdIS7lo2DZke26Qe+MXO12OWkGT0O6oE7vMGkMnkYw4aN1KQgMKExhXqswfiov4+a7MQ11XPnbr/5qpKlgACAAQj94Lu271bN9DUecQasIZlNzG72llRAAKJiAi+/BSHrSFjRvQhg3DEKEqJh08tsmLTx597+f6enr4cc2Zpk57pihfX24dW7RHcOLLUbJYhJSl0ErQCI9BVXH/XrO97QasuvQQSiECa0BrQCIIJp6X9T/r8QG6L71WYSqCoIIGo2BZDUBnS/D9EA9Nun1iYvbM0MFExIDQRoKFatc1Z6zrm5uWeObJotq0BGV9FuQBWq5a4Fw3PPz848rZHstZSuA5FWA |
View Main.hx
This file contains 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
package ; | |
class Main { | |
public static function main() { | |
new Main(); | |
} | |
public function new() { | |
trace( MyAbstract.getAllValues() ); |
View Macro.hx
This file contains 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
package ; | |
import haxe.macro.Type; | |
import haxe.macro.Expr; | |
import haxe.macro.Context; | |
import haxe.macro.Compiler; | |
using haxe.macro.ExprTools; | |
class Macro { |
View Main.hx
This file contains 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
package ; | |
@:build(MyMacro.build()) | |
class Main { | |
public static function main() { | |
MyMacro.register('c'); | |
foo('bar'); | |
MyMacro.register('a'); | |
foo('baz'); |
View Main.hx
This file contains 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
package; | |
import haxe.macro.Printer; | |
#if macro | |
import haxe.macro.Type; | |
import haxe.macro.Expr; | |
import haxe.macro.Context; | |
#end | |
/** |
View Issue4862.hx
This file contains 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
package unit.issues; | |
#if js | |
@:native("__issue4862__http_status") | |
@:enum private extern abstract HttpStatus(Int) to Int { | |
var Ok; | |
var NotFound; | |
static function __init__():Void { | |
untyped __js__("var __issue4862__http_status = {Ok: 200, NotFound: 404};"); |
NewerOlder