From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 33FE35D5 for ; Sun, 13 Jan 2019 13:31:40 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.56,473,1539640800"; d="scan'208,217";a="363826585" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 13 Jan 2019 14:31:38 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id 879AF8256B; Sun, 13 Jan 2019 14:31:38 +0100 (CET) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 18FA37FFA1 for ; Sun, 13 Jan 2019 14:31:29 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=robert.muller2@gmail.com; spf=Pass smtp.mailfrom=robert.muller2@gmail.com; spf=None smtp.helo=postmaster@mail-lj1-f178.google.com IronPort-PHdr: =?us-ascii?q?9a23=3AGOndKBdIUZlsMuN2DP8UYW2ulGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcS/YR7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYe?= =?us-ascii?q?RWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZ?= =?us-ascii?q?TAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hy?= =?us-ascii?q?gbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTyNODIOy?= =?us-ascii?q?YYUMEuQPI/pXopLnqFcStxazHxWgCP/txzJOm3T43bc60+MkEQzewAIgGMkBv2?= =?us-ascii?q?rOrNXpKawcVv21zK3MzTrddfNdxDDw6JLPch86v/6MR65wfdDUyUkyEwPFikuf?= =?us-ascii?q?qZb7Mz6O2eQNtnKU7+tkVe61l2EnrARxryGpy8wxhIfJgYcVxUrF9SV/2Is1Pt?= =?us-ascii?q?25SEtgbt6jFJtcrSSaN49uTsw4WGFopDw2yrgCuZKjYCcKz5Enxwbea/yDbYeE?= =?us-ascii?q?+BfjVOKXLDxlh3xlYKqyiwiu/UWk0OHxVcm53ExUoiZZkdTArG0B2h7Q58WBV/?= =?us-ascii?q?Bz5F2u2SyV2ADW8uxEIV47la7cK5M5x74/jJsTsUDaEi/ymkX6kbaadks59uWq?= =?us-ascii?q?6OnreLrmppibN497jgHxLL4ildC4AeQ9KgQOXm6b9vqg1LD740H1XLFHguc1n6?= =?us-ascii?q?TZqpzWO9gXq62jDwNI0Isu6A6zDzK839QZmXkHIkhFeBWCj4XxIVHOJ+v3Auml?= =?us-ascii?q?g1Swijtrwu3GPrnlAprTNHjPjqzsfbl460FGyQozycpT6I5TCrEEOP7zQFP+tM?= =?us-ascii?q?TEDh8lNAy52/roB8941oMaQG6PBq6ZMLjOsVKT/eIuI+yMZJcPtzrnKvgl4eTu?= =?us-ascii?q?jX4jllMHc6mpx8hfVHftOf9vJkHRRHPthtYHHi8uvxEiBLjhgViGFDpSfGqaXq?= =?us-ascii?q?Qm5zh9BpjwXqnZQYX4uruL0T2nVrhLYmRLEBjYC3Diep+YHfIRbCafOJVJnTkN?= =?us-ascii?q?VLznQIgkg0L9/DTmwqZqe7KHshYTsojugZ0sv7WKxEMCsAdsBsHY6FmjCmR9n2?= =?us-ascii?q?cGXTgzhfktrkl0y1PF2q990aUBSY5joshRWwJ/DqbyivRgAomrCA3Ed9aNDl2h?= =?us-ascii?q?R4f+WGxjfpcK29YLJn1FNZCigxTEhXT4BrYUk/mPBsVx/PuDjz7+IMFyz3uA36?= =?us-ascii?q?4k3QEr?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BJAgBDPTtchrLQVdFjHgEGBwaBZYIpQ?= =?us-ascii?q?YECJ4QBgR2CXpAKjC6EUYsFDQUWhnwaBwEENBIBAwEBAgEBAQEBEwEBAQgLCwg?= =?us-ascii?q?pIwyCOikBgl0zBBkBGx4DEggBBzcCJAERAQUBIoM1AYFoAQMVnkiDHzyLG3wWB?= =?us-ascii?q?QEXgngFhC0KGScNXoEdGgIGEowtghaDbog/glcCgSsBj0+RCQYBAoFYVoRuimw?= =?us-ascii?q?YgjGPTpBoiXUPIYE8gXczGiOBAW2BTgmCEhqDVIQghlEkMIpeAQE?= X-IPAS-Result: =?us-ascii?q?A0BJAgBDPTtchrLQVdFjHgEGBwaBZYIpQYECJ4QBgR2CXpA?= =?us-ascii?q?KjC6EUYsFDQUWhnwaBwEENBIBAwEBAgEBAQEBEwEBAQgLCwgpIwyCOikBgl0zB?= =?us-ascii?q?BkBGx4DEggBBzcCJAERAQUBIoM1AYFoAQMVnkiDHzyLG3wWBQEXgngFhC0KGSc?= =?us-ascii?q?NXoEdGgIGEowtghaDbog/glcCgSsBj0+RCQYBAoFYVoRuimwYgjGPTpBoiXUPI?= =?us-ascii?q?YE8gXczGiOBAW2BTgmCEhqDVIQghlEkMIpeAQE?= X-IronPort-AV: E=Sophos;i="5.56,473,1539640800"; d="scan'208,217";a="363826559" Received: from mail-lj1-f178.google.com ([209.85.208.178]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 13 Jan 2019 14:31:17 +0100 Received: by mail-lj1-f178.google.com with SMTP id v1-v6so16719374ljd.0 for ; Sun, 13 Jan 2019 05:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=B62yoVnHm3IN7drZTio993NyKxHM67mYfGZs9JZFQb8=; b=nlKkD2PnpIgo2ol0QMO6Q1sXbk+OctjjglhX9DPijmD2554ZnsdN40o0h8vdTUKPgw mqiVMdj4WpT2UFKSgLVfaBrapPr3Hg7VBWC8EKIZQNNJedCi0/7bH4Vo0URGeEvkOz6/ j5YCsFQEtUhDnVkXgiGCvRBU5diqNrwfp2s5ZjSNriVHo40iKheV7kgqbxorojIKYCB5 sR5Tp1gWJWYw9cS0na4G1uNaIQxI3bqKVzxPi6UQsJRRyTCI8nMG6h8pax5ym3EDj+Zq qXqkTb7GTOzjJ/qp4aBwdSbW+CC5GGbQGjT0ku/CVCFEhkgEN4ZilNcs2YhPdR3Yi/3B a6Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=B62yoVnHm3IN7drZTio993NyKxHM67mYfGZs9JZFQb8=; b=ZubiUQjmhhkD+FTQ9D6FTczKpp3aHhoCW97IHFvCEV0r+4fhnTkJUI+RCoxwnnt1js LAwBbGYQTkOK2pi53IURxhDSSfsXeAJbQCWeYJGDUUMH7RN6DHsu5/o3FbFraop3lQr0 +K8zHDR9jY2PNV7YSOwvm60RFSZO0i51aLNUXzkmGO7Zg6jAYVsb5ItV/qGTHmtZsmXS ovPumPqebkF/Ykfv6hnHke9MqrCCH4G4+8JzICAYt1uJctgehVdV1fisJUhlEGInaaBN jfrUxBjKqy3Ls6kExTgYZmpGgm/aoafnEF00rr/0d3WY/W+0zMFf45uvS+z/Eh0byuQo BQFw== X-Gm-Message-State: AJcUukeGQ7uzo0C1pc3p4IhgDfC1M1fr+f5d8HdwG4OPS6IKFXHmx8XR SJBpc/bgg+CMoTl/stX4zJLAZQnbWop/S8VXFacuYQ== X-Google-Smtp-Source: ALg8bN5XA1cIi2fbkBevjG1gZIv61b9ca3oAXwKWbWKpuHXnI1sMbMWJ5vSK0M7ygm+ZRQbOwLIZsGAhO8aXpwVgT0M= X-Received: by 2002:a2e:841:: with SMTP id g1-v6mr13334951ljd.21.1547386276525; Sun, 13 Jan 2019 05:31:16 -0800 (PST) MIME-Version: 1.0 From: Robert Muller Date: Sun, 13 Jan 2019 08:31:02 -0500 Message-ID: To: Ocaml Mailing List Content-Type: multipart/alternative; boundary="00000000000057bc41057f56f193" Subject: [Caml-list] make -> dune: recommended structure Reply-To: Robert Muller X-Loop: caml-list@inria.fr X-Sequence: 17294 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --00000000000057bc41057f56f193 Content-Type: text/plain; charset="UTF-8" Greetings. I have a toy compiler made up of ~20 modules: ast.mli ast.ml symbol.mli symbol.ml ... and a top-level in compile.ml. These sources are compiled and linked using a Makefile which invokes ocamlc. I'll call the resulting compiler "translate". 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: https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list Forum: https://discuss.ocaml.org/ Bug reports: http://caml.inria.fr/bin/caml-bugs --00000000000057bc41057f56f193 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greetings. I have a toy compiler made up of ~20 modules:
ast.mli ast.ml symbol.mli symbol.ml ...=C2=A0

and = a top-level in compile.ml. These sources = are compiled and linked using a Makefile which invokes ocamlc. I'll cal= l the resulting compiler "translate".

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 woul= d the recommended directory structure be and what would the dune file(s?) a= nd stanzas look like? I assume this is in the middle of dune's wheelhou= se but I wasn't able to find anything on it in the examples or document= s. I assume/hope I don't have to put the modules in a library.
Thank you,
Bob Muller=C2=A0
--00000000000057bc41057f56f193--