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
import erazor.Template; | |
class Main | |
{ | |
public static function main() | |
{ | |
var template = new Template("hello @file"); | |
trace(template.execute({ "file": "world" })); | |
} | |
} |
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
/** | |
NekoScript | |
By Jason O'Neil, 2011. Licensed under the GPL. | |
*/ | |
import hscript.Parser; | |
import neko.Sys; | |
import neko.FileSystem; | |
import neko.io.File; | |
import haxe.Http; |
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
/** | |
A super basic interactive console for haxe. | |
Done because someone on the mailing list asked and I got distracted :) | |
Consider this code Public Domain. | |
Jason O'Neil | |
Run using: | |
haxe -lib hscript -x Console.hx | |
(you will need hscript installed via haxelib) |
NewerOlder