Pierre Weis
f5e0923469
Better documentation of meta format conversion.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:44:12 +00:00
Pierre Weis
3e110da03d
Details.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-25 09:11:44 +00:00
Pierre Weis
2ad00ac0ad
Exporting count_printing_arguments_of_format and add_int_index.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-24 14:54:58 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Pierre Weis
b81519668f
Doc: better phrasing for %,. Introducing ikfprintf.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 18:00:32 +00:00
Damien Doligez
f95e7f4a59
uniformization of the warnings at the head of the hidden sections of the .mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:03:15 +00:00
Damien Doligez
b4ccb873a6
PR#5380: copy fix from 3.12 branch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12014 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-11 15:22:51 +00:00
Damien Doligez
cca0035fbb
continuing to change the name to OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11922 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 15:37:54 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Damien Doligez
9209d550c5
PR#4831: use tags @since and @before in std lib
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10457 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 18:30:12 +00:00
Pierre Weis
bdd01e7371
Introducing nop format delimiter %,
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:51:08 +00:00
Pierre Weis
579eb1e41e
Documentation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:50:01 +00:00
Pierre Weis
10b38811b6
Support for tk8.5: correcting tk_incs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:55:52 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Pierre Weis
236baa6ee4
Encapsulation of system specific exports in module Printf.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:34:05 +00:00
Pierre Weis
9bc5cb17bf
New type ac (argument counting for format strings). Private export of new function ac_of_format for Scanf (and the typechecker).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:22:02 +00:00
Pierre Weis
044ac2610c
New function ifprintf that does not print. (See request #0004031.)
...
Ifprintf is a one-liner using implementation tools from Printf, whereas it is
not possible to write it in pure Caml.
Useful to conditionally ignore printing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 09:12:53 +00:00
Pierre Weis
fa5b7ef147
Sub module Sformat now deals with format6.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7703 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 21:11:48 +00:00
Pierre Weis
ae5fcbb4c2
Documentation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-15 21:58:28 +00:00
Pierre Weis
cf0590146f
Code review before adding new typing of format string.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:52:22 +00:00
Pierre Weis
176b3c0da8
Module Sformat is internal to printf. Better typing specifications of functions working with format strings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 11:49:07 +00:00
Damien Doligez
125ea40d4c
fusion 3.09.0 -> 3.09.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Pierre Weis
922746e675
Implementing positional parameters in format string. First step:
...
runtime implementation for printf-like functions.
Revising printf documentation and adding something for positional
parameters.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-26 10:12:01 +00:00
Pierre Weis
339b08f82f
Closing a long standing bug in the implementation of printf-like
...
functions: partially applied printf functions were printing material
as soon as the first argument was applied (and even before: printing
started as soon as the format string was provided).
This is the first step towards the implementation of $ formats
(i.e. formats that can access directly to any of their arguments,
using a $n notation to denote the nth argument (``a la Yacc'')). This
is supposed to be mandatory to internationalisation of messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 17:18:03 +00:00
Pierre Weis
564969e68c
Documentation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-13 15:44:02 +00:00
Xavier Leroy
abb2a740b4
Doc %F (PR#3541)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-02 09:21:24 +00:00
Pierre Weis
32e84c0515
Homogènésation des interfaces de printf et format: kprintf est marquée
...
obsolète au profit de ksprintf; on introduit kfprintf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6979 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 12:21:02 +00:00
Pierre Weis
ccb93aeb98
Sub_format is shared between static and dynamic semantics of the language.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-07 06:18:14 +00:00
Pierre Weis
09b2253f0e
Doc (typos).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-16 10:25:59 +00:00
Pierre Weis
fe5f184972
Documentation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-04 20:18:17 +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
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
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
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
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
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
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
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
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
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
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
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
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
Xavier Leroy
376626863e
Nettoyages documentation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 14:52:34 +00:00
Xavier Leroy
4c64e76734
Documentation du flag 0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4835 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-25 08:37:33 +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
cfdb9013e8
fix PR#1018
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 16:10:36 +00:00