Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the Nasal interpreter in FlightGear, for example in order to expose new FlightGear APIs to Nasal, so that scripts can access more FlightGear internals.
This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the Nasal interpreter in FlightGear, for example in order to expose new FlightGear APIs to Nasal, so that scripts can access more FlightGear internals.


So, you will likely need to be interested in FlightGear core development, need to be familiar with C++, as well as with some basic Nasal, and you should have experience compiling FlightGear (see [[Building FlightGear]] for Linux instructions or [[Building Flightgear - Windows]] for Windows specific instructions.
So, you will likely need to be interested in FlightGear core development, need to be somewhat familiar with C/C++, as well as with some basic Nasal. Also, you should have experience compiling FlightGear (see [[Building FlightGear]] for Linux instructions or [[Building Flightgear - Windows]] for Windows specific instructions).


Introductory information on the Nasal programming language itself can be found at [[Nasal scripting language]]. Information on writing simple Nasal scripts can be found at [[Howto: Write simple scripts in Nasal]]. Useful Nasal snippets can be found at [[Nasal Snippets]]. A Nasal Style Guide is available at [[Nasal Style Guide]] (Note that as of 05/2009, this is work in progress).
Introductory information on the Nasal programming language itself can be found at [[Nasal scripting language]]. Information on writing simple Nasal scripts can be found at [[Howto: Write simple scripts in Nasal]]. Useful Nasal snippets can be found at [[Nasal Snippets]]. A Nasal Style Guide is available at [[Nasal Style Guide]] (Note that as of 05/2009, this is work in progress).
2,561

edits

Navigation menu