20,741
edits
m (+cat: Nasal; Spelling) |
|||
Line 3: | Line 3: | ||
The embedded scripting language of FlightGear, [[Nasal]] comes with a limited number of [[Nasal library|core functions]]. | The embedded scripting language of FlightGear, [[Nasal]] comes with a limited number of [[Nasal library|core functions]]. | ||
The language | The language has been [[Howto:Extend Nasal|extended by C++ functions]], as well as by libraries written in Nasal (for example [[Nasal library/props|props]], [[Nasal library/io|io]], [[Nasal library/math|math]], [[Nasal library/debug|debug]] etc). | ||
The latter are stored in the [[FGData]] repository under <code>/Nasal</code> and loaded automatically by FlightGear. | The latter are stored in the [[FGData]] repository under <code>/Nasal</code> and loaded automatically by FlightGear. | ||
Line 9: | Line 9: | ||
Optional code, which is loaded only on demand, can be handled either by the legacy module system implemented in C++ or by <code>modules.nas</code> if run-time re-load support is required. | Optional code, which is loaded only on demand, can be handled either by the legacy module system implemented in C++ or by <code>modules.nas</code> if run-time re-load support is required. | ||
For more information on how and when these files are loaded see [[Nasal Initialization]]. | For more information on how and when these files are loaded, see [[Nasal Initialization]]. | ||
=== Differences between add-ons and modules === | === Differences between add-ons and modules === |