Prev | Current Page 74 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

hxml compiler file and use it to compile a haXe application
How to modify the .hxml file to compile to each of the languages supported by haXe
How to run the compiled output in their native environments
Now that you know how to use the haXe tools, it ??™ s time to introduce you to the language.
??‘
??‘
??‘
??‘
Learning the Basics
haXe is a language, first and foremost. This means that is has a defined structure and a grammar
consisting of keywords and contextual rules. In this chapter, you ??™ ll examine the grammar of the
haXe language and become familiarized with the various functions and data types it has to offer.
Specifically, you will look at:
The data types supported by haXe
Using Variables
Type inference
Working dynamically with untyped and Dynamic
Casting data from one type to another
Grouping data into Array s, List s, and Hash Table s
Working with operators
Manipulating strings
Using the Math functions
Using the String functions
The haXe Hierarchy
haXe is an object - oriented language.


Pages:
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86