Navigation
Synopsis a language independent meta model for facts about source code, which is extensible to include language specific modeling elements
Description This is the core language independent model:

  • AST: a symbolic representation for abstract syntax trees of programming languages.
  • Core: M3 common source code model represent facts extracted from source code for use in downstream metrics or other analyses.
  • Registry: in memory database for analysis/m3/Core models for resolving hyperlinks
  • TypeSymbol: a symbolic representation for types that occur in programming languages.
For language-specific support, please go here: To get started with m3 immediately, please have a look at:
Examples
  • See Recipes:MeasuringJava for a step-by-step by-example recipe for how to use M3 for measuring things about Java:
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.