~ubuntu-branches/ubuntu/oneiric/atdgen/oneiric

« back to all changes in this revision

Viewing changes to debian/atdgen.mkd

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall
  • Date: 2010-12-05 00:57:42 UTC
  • Revision ID: james.westby@ubuntu.com-20101205005742-d5xlv2zqul11kujn
Tags: 1.0.1-1
Initial release. (Closes: #605671)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% ATDGEN(1) atdgen User Manual
 
2
% Sylvain Le Gall 
 
3
% December 5, 2010
 
4
 
 
5
# NAME
 
6
 
 
7
atdgen - generate OCaml serializers and deserializers.
 
8
 
 
9
# SYNOPSIS
 
10
 
 
11
atdge [options] file.atd
 
12
 
 
13
# DESCRIPTION
 
14
 
 
15
Generate OCaml serializers and deserializers. Default serialization format is
 
16
biniou.
 
17
 
 
18
# OPTIONS
 
19
 
 
20
-open Module1,Module2,...
 
21
:   List of modules to open (comma-separated or space-separated)
 
22
 
 
23
-ntd 
 
24
:   Do not dump OCaml type definitions
 
25
 
 
26
-nfd 
 
27
:   Do not dump OCaml function definitions
 
28
 
 
29
-rec 
 
30
:   Keep OCaml type definitions mutually recursive
 
31
 
 
32
-o PREFIX
 
33
:   Use this prefix for the generated files, e.g. 'foo/bar' for
 
34
    foo/bar.ml and foo/bar.mli
 
35
 
 
36
-biniou 
 
37
:   Write serializers and deserializers for Biniou (default).
 
38
 
 
39
-json 
 
40
:   Write serializers and deserializers for JSON.
 
41
 
 
42
-std-json 
 
43
:   Convert tuples and variants into standard JSON and
 
44
    refuse to print NaN and infinities (implying -json).
 
45
 
 
46
-version 
 
47
:   Print the version identifier of atdgen and exit.
 
48
 
 
49
-help|\--help
 
50
:   Display list of options
 
51