-
Notifications
You must be signed in to change notification settings - Fork 9
Home
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.
-
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 asnatlab.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 innatlab.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.