Current File : //proc/self/root/usr/share/doc/highlight-3.13/examples/swig/README_SWIG
HIGHLIGHT SWIG INTERFACE GENERATION
-----------------------------------

SWIG (http://www.swig.org/) is a tool to generate interfaces for more than 10
programming languages, inluding Python, Perl, Java and C#.
The interface file highlight.i contains all information to generate wrapper code
for the highlight::CodeGenerator class. The output module gives you access to
the highlight parser from within your favorite (scripting) language.
See src/include/codegenerator.h for the library interface.


See the makefile how to compile Python and Perl modules:

1. make python
   make perl

2. Run the test scripts
   python testmod.py (use 2.x interpreter)
   perl testmod.pl

See http://wiki.andre-simon.de/ for more information.