Skip to content
Sameer Jagdale edited this page Apr 14, 2015 · 4 revisions

Welcome to the mclab-core wiki! The wiki contains instructions on installation, usage, extending the framework and getting help. We will also be adding tutorials so that using McLab will be a piece of cake. Feel free to email us at [email protected] for any questions or bug fixes. For more information about the McLab, check out the McLab Website.

Overview

  • matlab includes the Matlab to Natlab translator. Natlab (nice Matlab) is a simplified version of Matlab that is easier to parse. (There are only syntactic differences between the two.)
  • natlab includes the generated Natlab parser, as well as natlab.Main, the entry point.
  • natlab.toolkits.rewrite is a simple framework for AST transformations and simplifications. Some useful simplifications, such as conversion to three-address code, are provided.
  • natlab.toolkits.analysis is an (intraprocedural) dataflow analysis framework, and subpackages provide various common analyses. Of particular interest is the kind analysis, which lives in natlab.toolkits.analysis.varorfun.
  • natlab.refactoring includes implementations of a few different refactorings, such as function and script inlining.
  • natlab.tame and its subpackages comprise the tamer framework, which aims to make Matlab more suitable to static compilation. It provides an intermediate representation (natlab.tame.tir), machinery for analyses to handle Matlab builtins, and an interprocedural analysis framework, among other things.

##Table of Contents

Clone this wiki locally