Whoaaa!

On Mon, Jan 11, 2016 at 5:25 PM, Josh Tynjala <joshtynj...@gmail.com> wrote:

> FalconJX just got Node.js support today.
>
> //--- begin HelloNode.as
>
> package
> {
>     public class HelloNode
>     {
>         public function HelloNode()
>         {
>             trace("Hello Node!");
>             trace(process.version);
>         }
>     }
> }
> var process:Object = require("process");
>
> //--- end HelloNode.as
>
> //--- begin usage
>
> asnodec HelloNode.as
> node bin/js-debug/index.js
>
> //--- end usage
>
> I'm sure there are bugs. I probably forgot to add something important in
> the build script, but it works on my machine! :)
>
> - Josh
>

Reply via email to