nsocaml /

Filename Size Date modified Message
24.4 KB
1.6 KB
777 B
39.4 KB
5.5 KB
5.4 KB
1.7 KB
OCaml Module for NaviServer 4.x
Release 0.2

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.


  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.

     Vlad Seryakov vlad@crystalballinc.com
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.