20,741
edits
(Initial draft) |
m (→Introduction and motivation: + links) |
||
Line 3: | Line 3: | ||
== Introduction and motivation == | == Introduction and motivation == | ||
Nasal (Flightgears integrated scripting language) comes with a limited number of [[Nasal library|core functions]]. | Nasal (Flightgears integrated scripting language) comes with a limited number of [[Nasal library|core functions]]. | ||
The language was extended by C++ functions as well as libraries written in Nasal (e.g. props, io, math, debug ...). | The language was [[Howto:Extend Nasal|extended by C++ functions]], as well as libraries written in Nasal (e.g. [[Nasal library/props.nas|props]], [[Nasal library/io|io]], [[Nasal library/math|math]], [[Nasal library/debug|debug]] ...). | ||
The latter are stored in the | |||
The latter are stored in the [[Fgdata]] repository under /Nasal and loaded automatically by FlightGear. | |||
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]]. | ||
To avoid loading files needlessly modules.nas was written to allow | |||
To avoid loading files needlessly modules.nas was written to allow run-time (re-)loadable Nasal modules, that are loaded on demand only. | |||
== modules.nas == | == modules.nas == |