Prev | Current Page 879 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


Creating a Neko Executable
Okay, so you ??™ ve developed a great Neko script that performs business logic on your client ??™ s desktop.
You ??™ ve left instructions on how the application should be used, and you ??™ ve provided the necessary
training for the client. The only problem is, having your client enter > neko someScript at a command
line doesn ??™ t exactly look very professional. Thankfully, the standard Neko installation comes with an
executable tool called NekoTools. You may remember this tool from a previous chapter, when it was
used to help construct a web server for debugging your Neko scripts. This tool also provides another
handy feature ??” the ability to convert Neko scripts, ending in .n , to an executable file.
Performing this feat is incredibly simple. Navigate to the .n file and, at the command prompt, enter:
nekotools boot < filename.n >
This creates an executable file of the same name in the same directory. It does this by appending the
bytecode stored in the .n file to the end of the neko.


Pages:
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891