Nasal scripting language: Difference between revisions

Jump to navigation Jump to search
First paragraph re-written
No edit summary
(First paragraph re-written)
Line 1: Line 1:
 
'''Nasal''' is FlightGear's built-in scripting language. Originally written by Andy Ross for a personal project, developed as a separate project by Andy Ross. In November 2003, it was integrated into FlightGear, and has been continuously developed, improved, and refined since then. In FlightGear, Nasal supports reading and writing of internal [[Property Tree|properties]], accessing internal data via extension functions, creating GUI dialogs and much more. Please see the right navigation bar to get additional information.
 
[[FlightGear]] offers a very powerful functional '''scripting language''' called '''[http://plausible.org/nasal/ Nasal]''', which supports reading and writing of internal [[Property Tree Intro|FlightGear properties]], accessing internal data via extension functions, creating GUI dialogs and much more. Please see the right navigation bar to get additional information.


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
# to be saved in $FG_ROOT/Nasal/hello.nas
# to be saved in $FG_ROOT/Nasal/hello.nas
  print( "Hello World!" );
print("Hello World!");
</syntaxhighlight>
</syntaxhighlight>


{{Template:Nasal Navigation}}
{{Nasal Navigation}}
[[File:Vim-nasal-syntax-highlighting.png]]
[[File:Vim-nasal-syntax-highlighting.png]]


Navigation menu