Filewatcher File Search File Search
Catalog
Content Search
» » » » » ocaml_1.03-2.deb » Content »
pkg://ocaml_1.03-2.deb:1136546/usr/man/man1/  info  control  downloads

ocaml - ML language implementation with a class-based object system.…  more info»

ocaml.1.gz

OCAML(1)                                                    OCAML(1)



NAME
       ocaml - The Objective Caml interactive toplevel



SYNOPSIS
       ocaml [ -unsafe ] [ -I lib-dir ]


DESCRIPTION
       The  ocaml(1)  command  is  the toplevel system for Objective
       Caml, that permits interactive use of the Objective Caml sys‐
       tem  through a read-eval-print loop. In this mode, the system
       repeatedly reads Caml phrases  from  the  input,  then  type‐
       checks,  compile  and evaluate them, then prints the inferred
       type and result value, if any. The system prints a #  (sharp)
       prompt before reading each phrase.

       A toplevel phrase can span several lines. It is terminated by
       ;; (a double-semicolon). The syntax of toplevel phrases is as
       follows.

       The  toplevel  system  is  started  by  the command ocaml(1).
       Phrases are read on standard input, results  are  printed  on
       standard  output,  errors  on  standard error. End-of-file on
       standard input terminates ocaml(1).


OPTIONS
       The  following  command-line  options   are   recognized   by
       ocaml(1).


       -I directory
              Add  the  given  directory  to the list of directories
              searched for source and compiled  files.  By  default,
              the  current  directory  is  searched  first, then the
              standard library directory. Directories added with  -I
              are searched after the current directory, in the order
              in which they were given  on  the  command  line,  but
              before the standard library directory.


       -unsafe
              Turn  bound  checking off on array and string accesses
              (the v.(i) and s.[i]  constructs).  Programs  compiled
              with   -unsafe  are  therefore  slightly  faster,  but
              unsafe: anything can happen if the program accesses an
              array or string outside of its bounds.


ENVIRONMENT VARIABLES
       LC_CTYPE
              If  set  to  iso_8859_1, accented characters (from the
              ISO Latin-1 character set)  in  string  and  character
              literals  are  printed  as  is;  otherwise,  they  are
              printed as decimal escape sequences.


       TERM   When printing  error  messages,  the  toplevel  system
              attempts  to  underline  visually  the location of the
              error. It consults the TERM variable to determines the
              type  of  output terminal and look up its capabilities
              in the terminal database.


SEE ALSO
       ocamlc(1).
       The Objective Caml user's manual, chapter "The toplevel  sys‐
       tem".




                                                            OCAML(1)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com