Commit Graph

81 Commits (3c1d4986bcd434ed641f6844388b86910354696a)

Author SHA1 Message Date
Pierre Weis 83b16075a3 Dead code elimination.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-04 20:21:04 +00:00
Pierre Weis b0270c4cf9 Implementation des meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-22 09:17:21 +00:00
Damien Doligez 0c7aecb88d depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +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
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
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
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
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
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
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 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 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
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 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
Pierre Weis 52d75a5e19 Introducing format %C and %S to print (and read) strings and chars
with escaped and delimitors (as Objective Caml tokens).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4804 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-12 18:37:49 +00:00
Damien Doligez 4e87d1239d deps + factorisation sprintf/kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4529 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 17:34:58 +00:00
Damien Doligez 818a4463bd ajout kprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-13 14:08:10 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy 11113cbc09 Ajout formats pour int32, nativeint, int64. Support pour * dans les specifications. Partage du code de parsing des %formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-28 14:21:27 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy dbc3d62830 Meilleur comportement de sprintf en cas d'application partielle
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-05-15 17:06:40 +00:00
Xavier Leroy a5eb7789fd Revu le module Buffer.
Utilise Buffer dans Printf.sprintf; ajout Printf.bprintf.
Ajout Map.mem.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-25 10:26:38 +00:00
Pierre Weis 47d8487edc Argument %i + message d'erreur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-17 18:49:17 +00:00
Pierre Weis 83fe3134c3 Ajout du format %i comme spécifié dans la doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2274 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-12 12:34:32 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy a241622210 Correction de sprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-21 09:22:35 +00:00
Xavier Leroy e4066357b1 Ajout des notices de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy 997fb206a7 Printf.sprintf et String.concat dans stdlib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-05 10:05:18 +00:00
Xavier Leroy 61bd8ace6b Passage a la version bootstrappee (franchissement du Rubicon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-04 10:15:53 +00:00