Food for thought then. Thanks for your answers. :) On Wed, Aug 27, 2008 at 2:11 PM, Nicolas Cannasse <[EMAIL PROTECTED] > wrote:
> Sean Charles a écrit : > >> Great! >> I knew it would be of course ;) >> >> Nicolas, can I ask two questions of you please ? >> >> 1) Is there within the source distribution something like an AST for >> building Neko code assuming I could build an AST that fitted then I could >> generate Neko code without having to write all that stuff myself? >> It probably wouldn't work either. :) >> > > You can use several ways : > - use NekoML to directly reuse parts of the Neko compiler (quite hard) > - generate Neko source code (don't include original file/line positions) > - generate NXML AST (see http://nekovm.org/doc/nxml) > - generate Binary AST (same as NXML but better performances for large > programs) > > 2) If I write a pure neko module, can I expose it to haxe as a library and >> if so, is it ExternalInterface that I need to use ? >> > > Yes you can, but you might have to write a wrapper for it since haXe String > an Array are objects. > > > Nicolas > > -- > Neko : One VM to run them all > (http://nekovm.org) >
-- Neko : One VM to run them all (http://nekovm.org)
