Commit Graph

866 Commits (486d45c826e1dc3d62abef7ec4cc63684372a79e)

Author SHA1 Message Date
Xavier Leroy adb5cd1e01 Doc tags desactives par defaut (PR#1849)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 07:43:54 +00:00
Xavier Leroy cb8205d151 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5832 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-12 07:46:55 +00:00
Xavier Leroy 30bddc23a3 Deprecated 'format' function some more
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-09 09:18:58 +00:00
Damien Doligez 86396bf299 PR#1811
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-04 12:44:48 +00:00
Xavier Leroy 48f6c91d3f MAJ pour 3.07 beta 2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-26 07:45:41 +00:00
Jacques Garrigue dd73e90e9e cleanup after export of Parmatch.pressure_variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5781 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-18 08:26:18 +00:00
Damien Doligez 2aa11c7bf8 PR#1782
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5776 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-13 15:31:37 +00:00
Damien Doligez 9cc58da13e PR#1786
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5767 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-07 14:17:59 +00:00
Damien Doligez c9889c9181 PR#1776 suite 2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-01 23:28:58 +00:00
Xavier Leroy 8938acb2ef Retour a %.12g dans string_of_float (PR#1778)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-29 09:08:42 +00:00
Damien Doligez 1c089d9b2c PR#1781
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5745 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-26 18:50:52 +00:00
Damien Doligez 21caeb3027 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-25 21:40:06 +00:00
Damien Doligez ed53ef381a bug findlib/Stolpmann
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-24 18:23:54 +00:00
Damien Doligez 917c0ab755 depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-23 22:26:38 +00:00
Xavier Leroy 60a563d8fb MAJ dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 15:41:14 +00:00
Xavier Leroy 840b2bf9f1 MAJ version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 09:04:39 +00:00
Pierre Weis 6973c396da Oups, no forward reference !
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 08:04:01 +00:00
Pierre Weis 9269a12940 Incrementing subversion.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 07:26:47 +00:00
Pierre Weis fab3b6b071 More documentation about fscanf (due to private bug report from
Roberto). An unused function is suppressed. The Objective Caml `_'
convention for numbers is used and documented.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-15 07:25:09 +00:00
Pierre Weis 9cad9931a1 Suite au PR#1745 %F lit un flottant au format token Caml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-14 10:04:25 +00:00
Pierre Weis 139cf32a6f Width field of %c conversion is dynamically checked and must be 0 or 1.
The function end_of_input was wrong in case of a buffer for which both
beginning_of_input and end_of_input conditions were true (e.g. in case
of an empty string or an empty file).

Better error reporting for characters out of the given range.

Reminiscent of the printf semantics, %! matches the end of input
condition.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 11:13:21 +00:00
Xavier Leroy 628364a85a Conventions Cygwin (PR#1707)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5661 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-07 09:07:45 +00:00
Xavier Leroy e32fbbf849 Code mort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:17:52 +00:00
Xavier Leroy 1a4be860d0 Renommage type format -> format4 et reintroduction type format a 3 arguments pour compatibilite arriere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:13:24 +00:00
Damien Doligez 12690ec2d8 bug de currification
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 13:17:09 +00:00
Damien Doligez 0a1f0f864b desactivation du format %$
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 14:06:05 +00:00
Damien Doligez b37e53cef1 PR#1675, voir aussi PR#1438
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5641 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-01 16:30:12 +00:00
Jacques Garrigue b8f3f07141 coherent handling of type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:04:42 +00:00
Xavier Leroy 4f43b5f3fa Rectif doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 09:50:23 +00:00
Xavier Leroy 230179ff8b MAJ Makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 08:21:40 +00:00
Xavier Leroy dc5c604800 Doc de iter et fold
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 13:19:35 +00:00
Xavier Leroy e697df642b string_of_float: 17 digits au lieu de 18 (18 donne des resultats tres moches sous Linux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:51:18 +00:00
Xavier Leroy d60708263e Probleme d'equilibrage dans remove (PR#1720)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 07:28:54 +00:00
Xavier Leroy 38558879cc Problemes d'equilibrage dans join et remove (PR#1717,PR#1720)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 07:28:34 +00:00
Damien Doligez 51d50c7702 meilleur code pour Random.int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:14:52 +00:00
Damien Doligez 901936498a changement de parse_argv en cas d'erreur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5604 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:13:31 +00:00
Xavier Leroy 1fa763e0c5 Merge branch with recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 15:53:53 +00:00
Damien Doligez 5eef5478ae amelioration Random
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 16:49:32 +00:00
Damien Doligez a085ee8310 plus de determinisme (?)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 12:54:51 +00:00
Damien Doligez 60a5460849 changement seeding + ajout fonctions serieuses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:15:26 +00:00
Damien Doligez 0b2e6f5f7c PR#1709
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:13:40 +00:00
Damien Doligez 313d77d1cb PR#1532
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:34:23 +00:00
Damien Doligez d55a2af738 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:28:39 +00:00
Jacques Garrigue 4202eb8c4d add weak contravariance for types (PR#1692)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5569 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-21 09:04:54 +00:00
Jacques Garrigue c5790aa417 fix PR#1559
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-19 09:21:17 +00:00
Pierre Weis 0df4ab0392 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 17:52:40 +00:00
Pierre Weis 2b7e706ab8 Suppression code mort.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 17:07:22 +00:00
Pierre Weis 3b1652c76c Explicit documentation of %0c: scanf "%0c" (fun c -> ...) gives access
to the current character without reading it. This is convenient to
continue scanning according to the value of the current character,
without having the burden to add it to the scanning result (if only
possible when you decide to scan %C or %S when c is " or ').


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5562 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 06:39:50 +00:00
Pierre Weis f1217b8bc7 Begin_of_input -> beginning_of_input.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-14 06:30:04 +00:00
Jacques Garrigue 6fc86d03cf fixed PR#1673
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-13 08:24:53 +00:00
Pierre Weis b05ec8f2fa Addition of the Fragile_pat warning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-02 08:47:34 +00:00
Pierre Weis e77055aad9 Complete move from virtual to private for concrete types with private
constructors (or labels).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-01 22:22:37 +00:00
Pierre Weis 2a88474155 Une grammaire à 0 conflits, ça se fête, ça se choie, ça se maintient.
(Je sais j'ai mis un s à conflits, mais c'est par une attraction
grammaticale irrésistible de l'usage du 0 en français: une grammaire
sans conflits prend un s à conflits tout comme ``une maison sans
fenêtres'' prend un s à fenêtres, au motif que si la maison avait des
fenêtres, elle en aurait évidemment plusieurs; mutatis mutandis pour
les grammaires: de mon expérience, s'il y avait des conflits ils
seraient forcément plusieurs :)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-29 07:57:13 +00:00
Pierre Weis 1623dc13fc Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 10:21:57 +00:00
Pierre Weis 961dc4bda4 Introducing new constants deserve a new sub-version increment!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 09:47:04 +00:00
Pierre Weis 9e6895aded Introducing format %$ (to print strings with variables substitution)
and %! (to flush the output). See printf.mli for details.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 09:44:21 +00:00
Pierre Weis e9cda5216b Addition of function add_substitute for adding strings to buffer with
variable names substitution via a function mapping.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 08:13:20 +00:00
Xavier Leroy 7abcc8799e Ajout des litteraux de type int32, nativeint, int64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Pierre Weis e3c25d1b24 Correcting the bug of large buffering when scanning files.
Introduction of two new functions Scanning.from_file and
Scanning.from_file_bin to alleviate this problem.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5506 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 10:21:21 +00:00
Pierre Weis 1d52692ccf Adding new arguments types: boolean with spec Bool for function taking
a boolean as argument, and tuples with spec Tuple of spec list for
functions that takes more than one argument in turn on the command
line. For instance Arg.(Tuple [Arg.Int f; Arg.Bool b; Arg.Int g])
specifies an option that will take 3 elements on the command line and
will call f, b, and g in turn with converted values of the
corresponding types.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 10:19:35 +00:00
Xavier Leroy 5c7accd134 Optimisation de Pervasives.compare par strength reduction
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-01 08:46:39 +00:00
Damien Doligez 0ac0d9ac3b PR#1610
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-31 16:14:45 +00:00
Jacques Garrigue 91801e7a32 corection de bugs methodes polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-26 07:47:32 +00:00
Xavier Leroy 14e7582e8d En Windows, utiliser . comme repertoire temporaire si la variable TEMP n'est pas definie. WinXP ne cree pas le repertoire C:\temp.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5453 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-24 15:26:35 +00:00
Damien Doligez b44e21d6da PR#1588
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-13 17:26:05 +00:00
Damien Doligez cbc181dc76 note: on ne peut pas externer un weak array
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:41:39 +00:00
Damien Doligez f0dd3c5ae7 bug de printf "%8s" x qui tronquait x a 8 caracteres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:40:35 +00:00
Damien Doligez 8a20bd757d completude de la doc, typo sur anon_fun
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:36:28 +00:00
Xavier Leroy 859efb84a8 Ajout de Sys.readdir
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:16:15 +00:00
Pierre Weis 1f955eb17e Format %S now understands continuation newlines (\\\n).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-02 23:03:15 +00:00
Pierre Weis e132cd1f7a Documenting format %$.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 19:55:12 +00:00
Pierre Weis 79f3791c04 Introduction des types virtuels etape 2: introduction dans camlp4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 07:53:08 +00:00
Pierre Weis b5d0102c05 Nouveau format %$. Introduction des types virtuels: step 1 sans inclusion dans Camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 06:59:19 +00:00
Damien Doligez 501d64ea6a PR#1554
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-24 16:44:48 +00:00
Damien Doligez f665df40f1 precisions dans la doc de sort
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-12 13:01:12 +00:00
Pierre Weis 9bbe6d7d7a Default policy is to ignore tag printing completely.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-24 14:26:56 +00:00
Damien Doligez 992ea70149 regularisation de print_endline
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-22 16:32:57 +00:00
Damien Doligez 306f79785d points-virgules mal places
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-21 12:57:33 +00:00
Damien Doligez 54ac3911ce typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-21 12:56:30 +00:00
Damien Doligez 9c8d3d777f PR#1497
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5380 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-11 11:54:38 +00:00
Pierre Weis 1b16545057 better treatment of %n
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 16:17:41 +00:00
Damien Doligez 1ceb86a2ea PR#1495
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 18:59:11 +00:00
Damien Doligez 109ff9461e 18 chiffres pour les flottants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 18:56:13 +00:00
Pierre Weis 8701ef7048 Documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-09 10:28:05 +00:00
Pierre Weis 422967d82b Introducing the skip facility for scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-09 07:13:29 +00:00
Pierre Weis 831a3d7f5c Bufferized input from channels.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-08 21:28:23 +00:00
Pierre Weis 6cdad3430c adding some semantics on the string type for specs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-08 15:17:30 +00:00
Pierre Weis 9deb0370fa Exporting stdib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-08 15:16:09 +00:00
Pierre Weis 9fd8825b8d adding C-like %n format for scanf. For printf %n is an alias fr %i.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-08 13:52:02 +00:00
Jacques Garrigue 4011817915 Relax the value restriction
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-03 02:57:23 +00:00
Pierre Weis fda0343bbf Typing of kprintf turned to the more general type allowed by new
format strings type.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-22 10:13:11 +00:00
Xavier Leroy 5e152f7945 - Revu en profondeur la verification des CRC d'interfaces.
Cela corrige le PR#1064.
- Les CRC des modules constituant un programme sont stockes dans
  l'executable bytecode, section CRCS.  Revu Dynlink pour utiliser ces
  CRC au lieu d'attendre de l'utilisateur qu'il les fournisse.
  MAJ du debugger en consequence.
- Introduction et utilisation du fichier stdlib/StdlibModules.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-17 16:42:12 +00:00
Pierre Weis 9c20fa10d8 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-15 10:57:14 +00:00
Damien Doligez 51233b6e83 changement des locations, bug trouve par DDR
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-12 17:47:54 +00:00
Damien Doligez 2b633bf048 amelioration de let rec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-07 17:57:23 +00:00
Damien Doligez b3170e3d1f PR#1466 suite (et fin en ce qui concerne MacOS X)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-07 11:51:39 +00:00
Damien Doligez 2570312432 PR#63
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5245 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-05 16:33:46 +00:00
Damien Doligez f01fede228 PR#1465
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-04 10:49:35 +00:00
Damien Doligez 449722dbf5 flush_all ignore les erreurs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5231 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:54:19 +00:00
Damien Doligez c3e4b3c6dd documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5230 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:52:54 +00:00
Damien Doligez faff950d11 petit glitch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:47:02 +00:00
Damien Doligez d4bd2173aa PR#1200
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:24:30 +00:00
Damien Doligez ed3123ee87 changement des locations, premiere tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-01 17:06:47 +00:00
Pierre Weis 7f4f3784d0 Better typing of kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 12:30:43 +00:00
Pierre Weis 04756a214b Introducing format concatenation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 12:29:33 +00:00
Damien Doligez 1ba3a292a9 fix du fix du PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 10:37:53 +00:00
Pierre Weis 6df4c2b6de Introducing (and using) string and string format coercions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 10:00:02 +00:00
Pierre Weis 12107f3fbe Reaching the format graal: the fourth element
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 09:56:11 +00:00
Pierre Weis 236c7c3408 Legere mise en facteur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5208 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-30 23:47:54 +00:00
Pierre Weis 03625b7620 Export de end_of_input.
Implementation de la semantique des espaces conforme a la doc (seul le
caractère 32 est reconnu pour appeler skip_spaces).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5207 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-30 23:46:21 +00:00
Luc Maranget 53c35c8e00 oubli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 18:24:53 +00:00
Damien Doligez e22208ccca fix PR#1202
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 17:53:24 +00:00
Damien Doligez 0738514628 PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 13:55:33 +00:00
Damien Doligez 6112f1860d PR#1464
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 21:47:41 +00:00
Luc Maranget c417b82d9e nouveau ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 16:46:50 +00:00
Damien Doligez a0aa7eda67 modif de string_of_float pour afficher tous les chiffres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:20:53 +00:00
Damien Doligez ffabc5b01a doc plus precise pour int_of_string
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:19:32 +00:00
Damien Doligez 4aef78fc74 PR#1423
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5175 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 19:01:19 +00:00
Pierre Weis 27c443e152 Bug in the scanning of characters at end of file (
sscanf "" "%[^\n\r]\n" must succeed and return the empty string).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-10 10:08:18 +00:00
Pierre Weis e42e2b9266 Revised semantics of @c: the c character is now skipped by default.
This behaviour is documented.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-08 06:46:15 +00:00
Pierre Weis 51eb3bad54 A lot of modifications: provision for unsigned numbers in binary
notation + addition of a new ``bof'' field in input buffers to detect that
no chars have ever been read + careful check and debugging of reading
from empty buffers + code review. Addition of stdib for reading from stdin.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:20:07 +00:00
Pierre Weis 739479921d Provision for unsigned numbers in binary notation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:16:03 +00:00
Pierre Weis e95dce8553 Provision for printing of unsigned numbers in binary notation.
(Still to be revised.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:15:17 +00:00
Damien Doligez 007f9a7551 ajout _ dans les nombres; ajout \xhh dans les chaines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-02 12:25:15 +00:00
Damien Doligez 0d5055997a PR#1378
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-27 14:20:58 +00:00
Damien Doligez 7f968224ae probleme out-of-bounds string/array access sur Mac OS 10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 18:03:56 +00:00
Damien Doligez dd63c45e38 PR#1379
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-18 13:59:27 +00:00
Damien Doligez 47ae2e8b0a PR#1384
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-17 13:45:33 +00:00
Jacques Garrigue cc07ebe27d corrige PR#1374: univar aliasee en variable de rangee
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-07 01:45:16 +00:00
Pierre Weis 66f225a7bf Too optimistic implementation of %F format: we have to do the all job on
the Caml side.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-06 10:05:33 +00:00
Pierre Weis a96f8f0e87 Formats %B and %F.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5119 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:38:11 +00:00
Pierre Weis c89dbcc9e0 Introducing the (compiler private) helper function to turn out a
string representation of a floating point number to a valid Caml token
(valid_float_token).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:31:18 +00:00
Pierre Weis 0d986a420a Introducing new format %F and %B to print parsable float and bools.
(For bools format B is equivalent to format b, which can now be used
for something else: printing integers in binary format ?).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:27:34 +00:00
Xavier Leroy c5e13cd23f MAJ numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 14:16:12 +00:00
Damien Doligez e41863b492 changement overhead par defaut -> 80
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-01 14:14:10 +00:00
Xavier Leroy 23be5a960f Documenter le probleme avec let rec x = lazy x
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-30 13:02:56 +00:00
Pierre Weis 05406fd635 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:51:51 +00:00
Pierre Weis 0146dc27f9 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:46:07 +00:00
Pierre Weis 6c15753d0f Revu le traitement de %S (les @c ne sont pas nécessaires vus les
guillemets délimiteurs).
Revu le traitement des blancs en fin de fichier et les formats à
indication de scanning erronées (format terminé par @).
Revu le type de kscanf.
Revu la documentation des indications de scanning.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:29:42 +00:00
Xavier Leroy 8bf3b5a36a Documentation plus precise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-27 16:28:23 +00:00
Xavier Leroy 6970e8c7fa Identifier %x et %X; bug parsing entiers octal et hexa (PR#1260); 8 n'est pas un chiffre octal. Signe: Damien & Xavier
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 15:24:58 +00:00
Xavier Leroy 1c2eda75a7 ocamldoc n'aime pas [@c] ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5039 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 14:06:19 +00:00
Xavier Leroy 2864c78b57 Petites modifs dans les commentaires de doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:17:35 +00:00
Xavier Leroy 12e24290b8 Petites modifs dans les commentaires de doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:11:29 +00:00
Damien Doligez 794633663d bug Weak.Create(_).iter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 16:10:00 +00:00
Damien Doligez f5f0b6c1dd changement de spec numero de version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:35:30 +00:00
Damien Doligez 37bf95c248 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Xavier Leroy 30fdb75855 Reformattage documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:40:02 +00:00
Damien Doligez 8bd27a45b4 deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 15:48:45 +00:00
Xavier Leroy 38b49667b1 MAJ dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:38:00 +00:00