• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    OCaml
  • License
    The Unlicense
  • Created about 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple template for midsize OCaml project

Dune starter kit

This repository provides templates to help you start an OCaml project. It can be used to create multiple libraries, multiple executables, and test suites.

The project is structured as a collection of mostly self-contained subprojects, each with its source code and tests.

Requirements: opam, git, make, dune, alcotest.

How to set up your OCaml project:

  1. Clone this repository: git clone https://github.com/mjambon/dune-starter
  2. Copy files into a git repository e.g. cp -a dune-starter/proj foobar, cd foobar && git init && git add .
  3. Play around and make sure everything works. Try make, make test, make install, make uninstall, make clean. Consult the project's readme (proj/README.md) for more info.
  4. Replace occurrences of proj, sub1 and sub2 by your own names. Rename, throw away, and add files as needed.
  5. Consult the dune docs as needed.

Thanks to the authors of dune and @rgrinberg in particular for this great tool!

More Repositories

1

reasonable-shell-script

Because shell scripts don't have to be terrible
Shell
62
star
2

purple-fringe

Removal of purple fringing from digital photos
OCaml
60
star
3

dune-deps

Show the internal dependencies in your OCaml/Reason/Dune project
OCaml
60
star
4

cmdliner-cheatsheet

Cheatsheet for adding command-line options to an OCaml program using cmdliner
OCaml
59
star
5

atdgen

Now part of the atd repo
OCaml
44
star
6

dum

Print OCaml values based on their runtime representation
OCaml
30
star
7

moving-percentile

Moving percentile algorithm, similar in its requirements to exponential moving average
OCaml
27
star
8

mikmatch

OCaml pattern-matching extended with regexps (unmaintained)
OCaml
22
star
9

memories

Forgetful Bloom filters
OCaml
17
star
10

caml2html

Syntax highlighter for OCaml
OCaml
17
star
11

ocaml-layer

Make your own OCaml base image for fast CI jobs
Shell
14
star
12

trax

Catch OCaml exceptions and reraise them later without losing the original stack trace.
OCaml
11
star
13

ocaml-wishlist

OCaml features we want really bad
11
star
14

dutop

Disk usage top
OCaml
9
star
15

jobqueue

OCaml library for forking off cpu-intensive processes.
OCaml
9
star
16

mixtbl

Statically-typed heterogenous hash table
OCaml
9
star
17

dune-deps-action

Auto-update dependency graph in your README.md
7
star
18

ocaml-for-pa

Introduction to OCaml for Program Analysis
OCaml
7
star
19

eledit

Line editor (fork of ledit)
OCaml
6
star
20

oss-honor-code

Open-Source Honor Code
4
star
21

watch-file

Rerun a command when a file changes
Shell
4
star
22

dev-random

short experiments
OCaml
4
star
23

vim-vs-emacs

Word vs. LaTeX paper, adapted to help you choose the best text editor
CSS
4
star
24

tophide

Hide values starting with _ in the ocaml toplevel
OCaml
4
star
25

uniformize

Dynamic signal uniformization
OCaml
3
star
26

spherical-shell

How much stuff fits in a spherical shell of various dimensions?
OCaml
3
star
27

camlmix

OCaml-stuffed templates
OCaml
3
star
28

vanity

Constructive Glossary Builder
Go
3
star
29

backtrace

Investigating incomplete OCaml stack backtraces
OCaml
3
star
30

atdgen-doc

Documentation for atdgen
OCaml
3
star
31

multiarmed

Epsilon-greedy solution to the multiarmed-bandit problem, with recency bias
OCaml
3
star
32

dna-encoding

Encoding of strings in base 4, using {a,c,g,t} for digits.
OCaml
2
star
33

atdgen-tutorial

Moved to https://github.com/mjambon/atdgen-doc
OCaml
2
star
34

documents

2
star
35

hooh

Make tar.gz's from git repositories and tags starting in v[0-9]
OCaml
2
star
36

safe-colors

Trying to discover colorblind-friendly palettes
OCaml
2
star
37

utf8conv

Conversion from ISO-8859-1 and Windows-1252 text to UTF-8
OCaml
2
star
38

rematch

String matching for OCaml (simpler Mikmatch)
OCaml
1
star
39

dev-feedback

Poll questions for better feedback from developer to developer
1
star
40

action

Hobby-grade research on machine intelligence
OCaml
1
star
41

evo

Various small programs having to do evolution
OCaml
1
star
42

atdgen-omake

Atdgen plugin for OMake (official repository)
OCaml
1
star
43

atdgen-make

Atdgen plugin for GNU Make (official repository)
OCaml
1
star
44

atdgen-cppo

For using atdgen without creating separate .atd files
Shell
1
star
45

topfilter

Selection of the top N elements from a stream
OCaml
1
star
46

icfpc2011

ICFP contest 2011
OCaml
1
star