Ast.ProgramSourcePrograms
This module allows defining new kinds of programs to be analyzed by Mopsa. A program encapsulates the static information present in the source files that may be needed during the analysis, such as the list of functions variables, etc.
Extensible type of program kinds
type program = {prog_kind : prog_kind;kind of the program
*)prog_range : Mopsa_utils.Location.range;program location
*)}Programs
register_program info registers a new program kind by registering its comparison function info.compare and pretty-printer info.print
Register a comparison function between programs
Register a pretty-printer for programs