package camelot

All checked builds pass
  1. Overview
  2. Docs
An OCaml Linter / Style Checker

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.4.3.tar.gz
md5=de2842663cff7fb0247b587569cce44e
sha512=9e6b7059333c1f30e487894b617506dd0f3d653dbe8579da91917c97136b38fddc01b137778e4c84d37cf4365b7b5ed29173712438b505b48fac0c5c470cc72d

Description

Added to opam-repository:

README

Camelot

An OCaml Linter / Style Checker for the OCaml compiler version 4.09.0. Make sure you have ocaml version 4.09.0, otherwise the parsetree will be different

Acknowledgements

This project wouldn't have been possible without the following three repos:

sml-style-check from the folks at CMU: for guiding the design of the linter, as well as basically contributing the structure of our project (especially the extendable checker modules :) ),

hlint for a good reference on building a linter,

and ppx_tools/rewriter, for giving us useful starter code and being the building block on which camelot started.

Dependencies

  • dune (v 2.4.0) - dune will manage installing the appropriate dependencies for you I believe
  • ocaml-base-compiler >= v4.09.0
  • compiler-libs.common
  • fswatch (for Build + Watch)
  • ANSITerminal

Note:

This project is dependent on compiler-libs, an inherently unstable library that changes between OCaml installations.

Build and run instructions

Build: dune build bin/camelot.exe

Build + Watch: dune build bin/camelot.exe -w

Run 'tests': dune exec -- bin/camelot.exe <camelot args here>

Camelot flags

-d <lintdir> : Specify the directory in which to lint

-show <ta | student | gradescope> : Specify the reporting type - does a student see this output or a ta? If this argument is malformed or not present, the reporting type defaults to student

-f <filename> : Lints the given file

Dependencies (3)

  1. ANSITerminal >= "0.8"
  2. ocaml >= "4.09.0"
  3. dune >= "2.5"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building camelot with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.1.0 n/a n/a n/a good n/a
1.7.1 good n/a n/a n/a n/a
0.4.3 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure