Skip to content

jonsterling/ocaml-forester

Folders and files

NameName
Last commit message
Last commit date
Aug 2, 2023
Jun 17, 2024
Jun 17, 2024
Jun 15, 2024
Feb 13, 2024
May 17, 2023
May 6, 2023
Apr 13, 2024
Jun 16, 2024
Jun 1, 2024
Jun 1, 2024
Jun 16, 2024
Jun 15, 2024

Repository files navigation

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.

Installation

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 }:
    let
      system = "x86_64-linux"; # make sure to change this to your use case!
      pkgs = import nixpkgs { inherit system inputs; };
    in
    {
      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.