This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Python (plug-in): Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
New page: The Python is a standard plug-in that is shipped with the BZFlag Source code. It exposes the BZFS API to the [http://en.wikipedia.org/wiki/Python_%28programming_langua...
 
Zehra (talk | contribs)
redirected page
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The Python is a standard [[Plug-ins|plug-in]] that is shipped with the [[BZFlag Source]] code. It exposes the [[BZFS API]] to the [http://en.wikipedia.org/wiki/Python_%28programming_language%29 python programing language] and includes a python interpreter for running python based plug-ins. The plug-in remains uncompleted, but somewhat functional for the small muber of the API functions that it exposes.
#REDIRECT [[Plug-ins]]
 
Python was released with the [[BZFlag 2.0.4|v2.0.4]] release of BZFlag.
 
==Usage==
When loaded the python plug-in installs a custom plug in handler for ".py" files. When any subsequent .py files loaded with the loadplugin commands are passed to the python plug-in, where it instantiates a python interpreter with python language bindings to a subset of the [[BZFS API]].
 
==History==
Python was a proof of concept plug-in intended to show how to use plug-ins to expose the [[BZFS API]] to non C++ languages, specifically ones that could be interpreted at run-time.
 
[[Category:Development]]
[[Category:Plug-Ins]]
[[Category:Server_security]]

Latest revision as of 16:49, 8 February 2017

Redirect to: