Prev | Current Page 49 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

Objective Caml
can also be downloaded from the official website at http://caml.inria.fr/ocaml/ .
Once you are sure CVS and Objective Caml are installed on your system, open a terminal window and
navigate to a directory where you would like the haXe source files downloaded. Next, enter the
following:
> mkdir haxe
> cd haxe
This creates a new directory called haxe and then proceeds to set the new directory as the current
working directory. You can now download and compile the source by entering these lines:
> wget http://haxe.org/_media/install.ml
> ocaml install.ml
14
Part I: The Core Language
In the preceding code, the wget command retrieves the install.ml script from the haXe website and
executes it. The install.ml is an Objective Caml script that automates the download and compilation
of the haXe source files. You shouldn ??™ t need to do anything else to compile the sources. Though, you do
still need to put your files into a suitable directory on your PC so that they can be accessed readily and
set up any necessary system variables so your PC knows where to find the files.


Pages:
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61