caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kakadu <kakadu.hafanana@gmail.com>
To: "Андрей Бергман" <vkni@yandex.ru>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] type-safe printf
Date: Tue, 13 Sep 2016 18:31:23 +0300	[thread overview]
Message-ID: <CAGmVoG1naW+w5WL=5VV5aBHrHphy-Bze6vZ_J15-vED_NBwfLg@mail.gmail.com> (raw)
In-Reply-To: <337861473779549@web6h.yandex.ru>

Functional unparsing by Olivier Danvy can be related article.
http://www.brics.dk/RS/98/12/BRICS-RS-98-12.pdf


Happy hacking,
Kakadu

On Tue, Sep 13, 2016 at 6:12 PM, Андрей Бергман <vkni@yandex.ru> wrote:
> Hello,
>
> is there a good article or just short explanation how compile-type checking of Printf arguments works?
>
> Does it require special compiler support like in C++ compilers/analyzers, or one can somehow do the trick of parsing string literal using Ocaml language itself? (actually latter does not look possible to me)
>
> Thanks,
>     Andrey.
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

  parent reply	other threads:[~2016-09-13 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13 15:12 Андрей Бергман
2016-09-13 15:25 ` Mario Pereira
2016-09-13 15:36   ` Maxime Dénès
2016-09-13 15:31 ` Kakadu [this message]
2016-09-13 15:40   ` Daniel Bünzli
2016-09-14 11:19   ` Oleg
2016-09-13 15:38 ` David Allsopp
2016-09-13 17:54 ` Андрей Бергман

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGmVoG1naW+w5WL=5VV5aBHrHphy-Bze6vZ_J15-vED_NBwfLg@mail.gmail.com' \
    --to=kakadu.hafanana@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=vkni@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).