Stan_math_backendmodule Cpp : sig ... endA set of data types representing the C++ we generate
module Cpp_Json : sig ... endmodule Cpp_str : sig ... endUtilities for converting OCaml strings into C++ strings
module Lower_expr : sig ... endLowering of Stan expressions to C++
module Lower_functions : sig ... endResponsible for turning the Stan function's block into forward decls, functions, and functors in C++
module Lower_program : sig ... endStan-program-specific C++ generation
module Lower_stmt : sig ... endLowering of Stan statements to C++
module Mangle : sig ... endMangle variables which are C++ reserved words into valid C++ identifiers.
module Numbering : sig ... endThis module translates the locations of statements into an array of messages used in the C++ for providing locations in the Stan code when an error occurs, and replaces the locations in the MIR tree with indices into said array.
module Transform_Mir : sig ... endPerform backend-specific transformations of the MIR such as mangling or renaming of functions which differ in the library implementation