ocamlrep icon indicating copy to clipboard operation
ocamlrep copied to clipboard

Docs for basic usage

Open shubhamkumar13 opened this issue 2 years ago • 3 comments

Is it possible to have some simple basic examples which show a cargo project and a dune project working together

shubhamkumar13 avatar Sep 18 '23 16:09 shubhamkumar13

I think it is possible

Abinash018 avatar Nov 28 '23 19:11 Abinash018

May some way possible

Abinash018 avatar Nov 28 '23 19:11 Abinash018

it is possible to get builds going with ocamlrep, dune & cargo. see errpy for example which utilizes ocamlrep. errpy is available in opam and is integrated into pyre-check

i would advocate for the use of buck2 though. one can use reindeer for the rust dependencies and ocaml-scripts for the opam dependencies. there are some ocaml examples (including rust embedding) in the buck2 repo (sadly not involving ocamlrep though). ocamlrep itself builds with buck2 and reindeer in addition to cargo.

shayne-fletcher avatar Feb 29 '24 19:02 shayne-fletcher

Hopefully https://github.com/facebook/ocamlrep/issues/45#issuecomment-1971799618 helps. There hasn't been action here for a while, so closing. Sorry there aren't more docs–I don't think this project is under active dev.

mheiber avatar Aug 21 '24 10:08 mheiber