caml-list - the Caml user's mailing list
 help / Atom feed
From: Robert Muller <>
To: Ocaml Mailing List <>
Subject: [Caml-list] make -> dune: recommended structure
Date: Sun, 13 Jan 2019 08:31:02 -0500
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]

Greetings. I have a toy compiler made up of ~20 modules:

ast.mli symbol.mli ...

and a top-level in These sources are compiled and linked using
a Makefile which invokes ocamlc. I'll call the resulting compiler

At present I have *all* of these files resident in a single src/ directory.
I'm considering converting the build to dune for the semester. What would
the recommended directory structure be and what would the dune file(s?) and
stanzas look like? I assume this is in the middle of dune's wheelhouse but
I wasn't able to find anything on it in the examples or documents. I
assume/hope I don't have to put the modules in a library.
Thank you,
Bob Muller

Caml-list mailing list.  Subscription management and archives:
Bug reports:

[-- Attachment #2: Type: text/html, Size: 936 bytes --]

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-13 13:31 Robert Muller [this message]
2019-01-13 14:07 ` Nicolás Ojeda Bär
2019-01-13 14:22   ` Robert Muller

Reply instructions:

You may reply publically 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:

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

  git send-email \
    --in-reply-to='' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror

AGPL code for this site: git clone public-inbox