A tool for scientific thought

0d4f915 minor code cleanup

3 hours ago

07a15b6 renaming

4 hours ago

This is the source repository for the forester tool, which is implemented in the OCaml programming language. Please see this page for more information.

#System Requirements

You need to have OCaml 5 and opam installed.


You can install forester by running opam install forester.

#Using nix (Optional)

Forester can also be used with nix. To run forester, use nix run sourcehut:~jonsterling/ocaml-forester. If you are working with a Nix flake-based project and want to include Forester as a build input, you can add it to your flake.nix:

  inputs = {
    forester.url = "sourcehut:~jonsterling/ocaml-forester";
    forester.inputs.nixpkgs.follows = "nixpkgs";

  outputs = inputs@{ self, forester, nixpkgs }:
      system = "x86_64-linux"; # make sure to change this to your use case!
      pkgs = import nixpkgs { inherit system inputs; };
      devShells.${system}.default = pkgs.mkShell {
        buildInputs = [ forester.packages.${system}.default ];

#Example Use

Please see my Forest for an example of using forester, or clone your own template forest.