Nasal scripting language: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
m (Use Nasal highlighter)
Line 3: Line 3:
[[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.
[[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="php">
<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!" );

Revision as of 21:10, 10 November 2013


FlightGear offers a very powerful functional scripting language called Nasal, which supports reading and writing of internal FlightGear properties, accessing internal data via extension functions, creating GUI dialogs and much more. Please see the right navigation bar to get additional information.

# to be saved in $FG_ROOT/Nasal/hello.nas
  print( "Hello World!" );

Vim-nasal-syntax-highlighting.png

References