Frontendmodule Ast : sig ... endAbstract syntax tree for Stan. Defined with the 'two-level types' pattern, where the variant types are not directly recursive, but rather parametric in some other type.
module Ast_to_Mir : sig ... endmodule Canonicalize : sig ... endRe-write ASTs to remove deprecated features and clean up extra parenthesis, etc
module Debugging : sig ... endSome helpers for debugging
module Deprecation_analysis : sig ... endUtilities for emitting deprecation warnings and finding proper replacements for deprecated features
module Environment : sig ... endType environments used during typechecking. Maps from strings to function or variable information
module Errors : sig ... endSome plumbing for our compiler errors
module Include_files : sig ... endmodule Info : sig ... endImplementation of the --info option which outputs on the standard output a JSON object containing information about the model.
module Input_warnings : sig ... endA module to contain the mutable state used to track warnings from the parser and lexer.
module Lexer : sig ... endmodule Parse : sig ... endWrappers around the APIs provided by Menhir
module Parser : sig ... endmodule Parsing_errors : sig ... endmodule Preprocessor : sig ... endPreprocessor for handling include directives
module Pretty_print_prog : sig ... endPretty print a complete Stan program.
module Pretty_printing : sig ... endSome helpers to produce nice error messages and for auto-formatting Stan programs
module Promotion : sig ... endmodule Semantic_error : sig ... endmodule SignatureMismatch : sig ... endmodule Syntax_error : sig ... endmodule Typechecker : sig ... enda type/semantic checker for Stan ASTs
module Warnings : sig ... endUsed for user-facing warning messages