GRASS and Python: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 5: Line 5:
* SWIG interface (thanks to Sajith VK): http://freegis.gnu.org.in/temporary/python_grass6.tar.bz2
* SWIG interface (thanks to Sajith VK): http://freegis.gnu.org.in/temporary/python_grass6.tar.bz2


SWIG (Simplified Wrapper and Interface Generator) is: 1) A compiler that turns ANSI C/C++ declarations into scripting language interfaces. 2) Completely automated (produces a fully working Python extension module). 3) Language neutral. SWIG can also target Tcl, Perl, Guile, MATLAB, etc... 4) Attempts to eliminate the tedium of writing extension modules.
SWIG (Simplified Wrapper and Interface Generator) is:  
 
# A compiler that turns ANSI C/C++ declarations into scripting language interfaces.
# Completely automated (produces a fully working Python extension module).  
# Language neutral. SWIG can also target Tcl, Perl, Guile, MATLAB, etc...  
# Attempts to eliminate the tedium of writing extension modules.


===Links===
===Links===

Revision as of 16:54, 23 May 2006

Python extensions from GRASS GIS

Work done

SWIG (Simplified Wrapper and Interface Generator) is:

  1. A compiler that turns ANSI C/C++ declarations into scripting language interfaces.
  2. Completely automated (produces a fully working Python extension module).
  3. Language neutral. SWIG can also target Tcl, Perl, Guile, MATLAB, etc...
  4. Attempts to eliminate the tedium of writing extension modules.

Links