"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/swig/README_SWIG" (12 May 2020, 715 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "README_SWIG": 3.53_vs_3.54.

    1 
    2 HIGHLIGHT SWIG INTERFACE GENERATION
    3 -----------------------------------
    4 
    5 SWIG (http://www.swig.org/) is a tool to generate interfaces for more than 10
    6 programming languages, including Python, Perl, Java and C#.
    7 The interface file highlight.i contains all information to generate wrapper code
    8 for the highlight::CodeGenerator class. The output module gives you access to
    9 the highlight parser from within your favorite (scripting) language.
   10 See src/include/codegenerator.h for the library interface.
   11 
   12 
   13 See the makefile how to compile Python, Perl or PHP modules:
   14 
   15 1. make python
   16    make perl
   17    make php 
   18 
   19 2. Run the test scripts
   20    python testmod.py (use 2.x interpreter)
   21    perl -I . testmod.pl
   22    php testmod.php