caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christian Lindig <lindig@cs.uni-sb.de>
To: Tom Hawkins <tom@confluent.org>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Tools module for the Standard Lib
Date: Mon, 6 Dec 2004 11:36:09 +0100	[thread overview]
Message-ID: <A4A66F80-4772-11D9-A281-000A95CB833C@cs.uni-sb.de> (raw)
In-Reply-To: <41B34705.4000207@confluent.org>


On Dec 5, 2004, at 6:36 PM, Tom Hawkins wrote:

> Extrapolating on this idea, it would be advantageous to have a "Tools" 
> module [..] Such a module would provide first-class ADTs for data that 
> is currently represented in files: .ml, .mli, .mll, .cmi, .cmx, etc.  
> For example:
>
>   let my_ml = Tools.ml_of_file "my.ml" in  (* or ... *)
>   let gen_ml = Tools.ml_of_string "print_string \"hello!\"" in
>
> With such a framework, the complexity of the build process is 
> encapsulated in a program.

In my experience, all serious projects have to deal with more than one 
kind of source language: besides OCaml there could be TeX for 
documentation, Troff for manual pages, input for special-purpose code 
generators like Burg, and so on. A build system must be able to deal 
with all of them. Therefore your proposal would not eliminate the need 
for a general build tool outside of OCaml,

-- Christian


      parent reply	other threads:[~2004-12-06 10:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-05 17:36 Tom Hawkins
2004-12-05 20:23 ` [Caml-list] " Kenneth Knowles
2004-12-06 10:36 ` Christian Lindig [this message]

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=A4A66F80-4772-11D9-A281-000A95CB833C@cs.uni-sb.de \
    --to=lindig@cs.uni-sb.de \
    --cc=caml-list@inria.fr \
    --cc=tom@confluent.org \
    /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).