File: ocamlmod.1

package info (click to toggle)
ocamlmod 0.0.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 852 kB
  • sloc: ml: 6,812; makefile: 84
file content (28 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.TH OCAMLMOD 1 "April 20, 2012" "ocamlmod manpage"
.SH NAME
.PP
ocamlmod - generate OCaml modules from source files
.SH SYNOPSIS
.PP
ocamlmod [\(hyhelp|\(hy\(hyhelp] file.mod
.SH DESCRIPTION
.PP
This program allows one to generate a single module files from a bunch
of OCaml source file.
.SH FILE SYNTAX
.PP
The \f[C]file.mod\f[] must contains one source (\f[C].ml\f[]) per line.
.PP
Each \f[C].ml\f[] file is copied with an indentation of 2 space into
\f[C]file.ml\f[] The target filename is derived from the \f[C].mod\f[]
filename.
.PP
During the copy, some parts are removed:
.IP \[bu] 2
Every lines contains inside a \f[C](*\ END\ EXPORT\ *)\f[],
\f[C](*\ START\ EXPORT\ *)\f[]
.IP \[bu] 2
Some camlp4 related directive (\f[C]with\ odn\f[] and
\f[C]TYPE_CONV_PATH\f[]).
.SH AUTHORS
Sylvain Le Gall.