Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

SWIG : An Easy to Use Tool for Integrating Scripting Languages with C and C++

David M. Beazley, University of Utah

I present SWIG (Simplified Wrapper and Interface Generator), a program development tool that automatically generates the bindings between C/C++ code and common scripting languages including Tcl, Python, Perl and Guile. SWIG supports most C/C++ datatypes including pointers, structures, and classes. Unlike many other approaches, SWIG uses ANSI C/C++ declarations and requires the user to make virtually no modifications to the underlying C code. In addition, SWIG automatically produces documentation in HTML, LaTeX, or ASCII format. SWIG has been primarily designed for scientists, engineers, and application developers who would like to use scripting languages with their C/C++ programs without worrying about the underlying implementation details of each language or using a complicated software development tool. This paper concentrates on SWIG's use with Tcl/Tk.

David M. Beazley, University of Utah

BibTeX
@inproceedings {260616,
author = {David M. Beazley},
title = {{SWIG} : An Easy to Use Tool for Integrating Scripting Languages with C and C++},
booktitle = {Fourth Annual USENIX Tcl/Tk Workshop (Fourth Annual USENIX Tcl/Tk Workshop)},
year = {1996},
address = {Monterey, CA},
url = {https://www.usenix.org/conference/fourth-annual-usenix-tcltk-workshop/swig-easy-use-tool-integrating-scripting-languages-c},
publisher = {USENIX Association},
month = jul
}
Download

Links

Paper (HTML): 
http://usenix.org/publications/library/proceedings/tcl96/full_papers/beazley/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us