Dune
  • Getting Started and Core Concepts
    • Overview
    • Quickstart
    • Stanza Reference
    • Command-Line Interface
  • How-to Guides
  • Reference Manual
  • Explanation
  • Advanced Topics
  • Miscellaneous
Dune
  • Getting Started and Core Concepts
  • Edit on GitHub

Getting Started and Core Concepts¶

These documents should be the first ones read by new Dune users. They explain what Dune is, how it works, and how to use it.

  • Overview
    • Introduction
    • Terminology
    • Project Layout
    • History
  • Quickstart
    • Initializing Projects
    • Building a Hello World Program From Scratch
    • Building a Hello World Program Using Lwt
    • Building a Hello World Program Using Core and Jane Street PPXs
    • Defining a Library Using Lwt and ocaml-re
    • Building a Hello World Program in Bytecode
    • Setting the OCaml Compilation Flags Globally
    • Using Cppo
    • Defining a Library with C Stubs
    • Defining a Library with C Stubs using pkg-config
    • Using a Custom Code Generator
    • Defining Tests
    • Building a Custom Toplevel
  • Stanza Reference
    • dune-project
    • dune
    • dune-workspace
    • config
  • Command-Line Interface
    • Initializing Components
    • Finding the Root
    • Interpretation of Targets
    • Finding External Libraries
    • Running Tests
    • Watch Mode
    • Launching the Toplevel (REPL)
    • Restricting the Set of Packages
    • Distributing Projects
    • dune subst
    • Custom Build Directory
    • Installing a Package
    • Querying Merlin Configuration
    • Running a Coq Toplevel
Previous Next

© Copyright 2024, Jérémie Dimino.

Built with Sphinx using a theme provided by Read the Docs.