2,561
edits
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the [[Nasal]] scripting interpreter in FlightGear, for example in order to expose new FlightGear APIs to the Nasal scripting engine, so that scripts can access additional FlightGear internals. | This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the [[Nasal]] scripting interpreter in FlightGear, for example in order to expose new FlightGear APIs to the Nasal scripting engine, so that scripts can access additional FlightGear internals. | ||
Some interesting ideas for extending Nasal this way have been collected at [[Proposals:Nasal related]]. | |||
In order to work through this article, 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 (given that Nasal itself is implemented in ANSI C, basic C knowledge will mostly do for starters-C++ knowledge will only be required in order to understand the FlightGear side of things). | In order to work through this article, 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 (given that Nasal itself is implemented in ANSI C, basic C knowledge will mostly do for starters-C++ knowledge will only be required in order to understand the FlightGear side of things). |
edits