Difference between revisions of "SWIG"
Moskalenko (talk | contribs) m (Text replacement - "#uppercase" to "uc") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Software]][[Category:library]][[Category: | + | [[Category:Software]][[Category:library]][[Category:Programming]][[Category:Compiler]] |
{|<!--CONFIGURATION: REQUIRED--> | {|<!--CONFIGURATION: REQUIRED--> | ||
|{{#vardefine:app|swig}} | |{{#vardefine:app|swig}} |
Latest revision as of 20:04, 21 August 2022
Description
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), D, Go language, Java including Android, Lua, Modula-3, OCAML, Octave, Scilab and R. Also several interpreted and compiled Scheme implementations (Guile, MzScheme/Racket, Chicken) are supported. SWIG is most commonly used to create high-level interpreted or compiled programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG is typically used to parse C/C++ interfaces and generate the 'glue code' required for the above target languages to call into the C/C++ code. SWIG can also export its parse tree in the form of XML and Lisp s-expressions. SWIG is free software and the code that SWIG generates is compatible with both commercial and non-commercial projects.
Environment Modules
Run module spider swig
to find out what environment modules are available for this application.
System Variables
- HPC_SWIG_DIR - installation directory
- HPC_SWIG_BIN - executable binary directory