-
Notifications
You must be signed in to change notification settings - Fork 2
Source code
Dhruv Makwana edited this page Feb 7, 2017
·
2 revisions
These are OCaml source files, typically containing implementations.
If a function is in the .mli
file then it must be in the .ml
file.
These are OCaml interface files. If I want to create a module called Category
the signature would be contained in the file category.mli
and the implementation in the file category.ml
.
These are lexer files for tokenising a .ml
or .mli
file.
These are ocamlyacc
or Menhir
files for specifying a grammar for which to generate a parser.
These are non-standard ways of extending syntax. A more recent development, ppx
can be used for syntax extensions now.