Adapted from https://www.cs.cornell.edu/courses/cs3110/2021sp/textbook/interp/simpl_frontend.html
Migrated from ocamlbuild to dune, and from ocamllex to sedlex.
In dune
, don't put sedlex_ppx
in libraries
as in the sedlex examples dune. It will fail to find it. Instead, put substitute it for ppxlib
.