1. NaviServer
  2. NaviServer Project
  3. nsocaml

Overview

OCaml Module for NaviServer 4.x
Release 0.2
vlad@crystalballinc.com

This is NaviServer module that implements OCaml interpreter inside NaviServer.

/*--------------------------------------------------------------------*/

Compiling and Installing

To compile this driver, you'll need to have OCaml installed.
All NaviServer specific API is built as separate OCaml library naviserver.cma,
to see currently available functions check naviserver.ml source file.

Usage

  ns_ocaml usage:

    ns_ocaml load filepath
      Load and execute OCaml object file

    ns_ocaml call function ?arg?
      Call OCaml function from Tcl, pass optional parameter. OCaml function
      should be registered using Callback.register in OCaml.

Authors
     Vlad Seryakov vlad@crystalballinc.com