stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
142 stars 46 forks source link

Clean up module interfaces #1179

Closed WardBrian closed 2 years ago

WardBrian commented 2 years ago

This does a few things:

  1. Closes #358 by deleting the 'index' modules which dune creates for us, like Middle.ml
  2. Adds interfaces and documentation for a couple more existing modules, namely Canonicalize and Stan_math_signatures
  3. Removes Frontend_utils by finding better homes for what lived there (basically all of it's functions were only called in one place and not generalizable)

Submission Checklist

Release notes

Cleaned up the internal structuring of modules in the compiler

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)