Toolkit Tutorial: Wrappers


  1. Introduction
  2. Perl
  3. Python
  4. Java
  5. C++
  6. FORTRAN

  1. Introduction
  2. The Daylight Toolkits...

    ... are a set of shared object libraries and header files.
    ... give programmers the power to handle complex chemistry with ease.
    ... use a robust, consistent and well-defined API.
    ... are written to allow cross-platform portability and language-independence.

  3. Perl
  4. DayPerl is a "Contrib" Perl toolkit wrapper and requires Perl to ber installed. DayPerl can be built and used with the following commands:

  5. Python
  6. PyDaylight is a "Contrib" Python toolkit wrapper and requires Python to be installed. PyDaylight can be built and used with the following commands:

  7. Java
  8. DayJava is a "Contrib" Java toolkit wrapper and requires the Java Development Kit (JDK) to be installed. For pre-v4.9 releases, you can download DayJava from http://www.daylight.com/support/contrib and install it under $DY_ROOT/contrib/src (the archive contains a "java" directory). DayJava can be built and used with the following commands:

  9. C++
  10. The C++ wrapper is built into the header files at $DY_ROOT/include. If _cplusplus is defined at compile tome, an 'extern "C"' block is wrapped around the toolkit entrypoints, which make the toolkits C++ compatible.

  11. FORTRAN
  12. The FORTRAN wrapper is included as header files (.inc extension) in $DY_ROOT/include. For an example, go to the FORTRAN "Contrib" version of canonical SMILES:


Michael A. Kappler
Last modified: Thu Jun 10 02:55:30 MDT 2004