# Jplag for OCaml

**URL:** <https://discuss.ocaml.org/t/jplag-for-ocaml/5955>\
**Category:** Learning\
**Created:** [June 11, 2020, 10:05am UTC](https://discuss.ocaml.org/t/jplag-for-ocaml/5955 "2020-06-11T10:05:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benoitbarbot](https://avatars.discourse-cdn.com/v4/letter/b/bcef8e/32.png) [@benoitbarbot](https://discuss.ocaml.org/u/benoitbarbot)\
**Post date:** [June 11, 2020, 10:05am UTC](https://discuss.ocaml.org/t/jplag-for-ocaml/5955/1 "2020-06-11T10:05:20Z")

</div>

Does anyone know of a JPlag alternative for OCaml or a JPlag parser for OCaml ?  
JPlag is a plagia detector for Java and C it scans code looking for similarity at the AST level and thus ignore renaming of variable and reordering.

---

<div class="post-metadata">

**Author:** ![psafont](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/psafont/32/4089_2.png) [@psafont](https://discuss.ocaml.org/u/psafont)\
**Post date:** [June 11, 2020, 10:31am UTC](https://discuss.ocaml.org/t/jplag-for-ocaml/5955/2 "2020-06-11T10:31:28Z")

</div>

This might be helpful, but I haven’t tried it: [https://github.com/yangdanny97/OCaMOSS](https://github.com/yangdanny97/OCaMOSS)
