|
|
Line 5: |
Line 5: |
| {{WIP}} | | {{WIP}} |
| {{Template:Nasal Navigation}} | | {{Template:Nasal Navigation}} |
|
| |
| == Not another scripting language ==
| |
| Nasal uses some of the concepts of ECMA/JavaScript, Python and Perl and implements a simple but complete way of Object Oriented Programming (OOP), Nasal uses an internal garbage collector so that no manual memory management is required by the programmer.
| |
|
| |
| People familiar with other programming languages, and scripting languages like JavaScript in particular, are usually able to learn Nasal rather quickly. FlightGear provides a rich library of simulation-specific and general-purpose functions that can be accessed by Nasal scripts.
| |
|
| |
| Nasal code can be run by [[aircraft]] configuration files, and it can be embedded in various [[XML]] files (dialog files, animation files, bindings for [[joystick]]s, keyboard and cockpit controls, and even in [[Howto:Nasal in scenery object XML files|scenery objects]]). Nasal is platform independent and designed to be thread safe.
| |
|
| |
|
| == Hello world == | | == Hello world == |