m2isar

This is the top-level M2-ISA-R package. The project is divided into three major parts:

  • m2isar.metamodel, the metamodel classes and helpers.

  • m2isar.backends, consumers of M2-ISA-R models. Provided are an architecture plugin generator for ETISS and a graphical tool to inspect M2-ISA-R models.

  • m2isar.frontends, producers of M2-ISA-R models. Currently provided is a parser for CoreDSL 2 ISA models.

Submodules

Attributes

__version__

Exceptions

M2Error

Common base class for all non-exit exceptions.

M2ValueError

Inappropriate argument value (of correct type).

M2NameError

Name not found globally.

M2DuplicateError

Name not found globally.

M2TypeError

Inappropriate argument type.

M2SyntaxError

Invalid syntax.

Functions

flatten(xs)

Package Contents

__version__ = '0.0.4'[source]
exception M2Error[source]

Bases: Exception

Inheritance diagram of m2isar.M2Error

Common base class for all non-exit exceptions.

exception M2ValueError[source]

Bases: ValueError, M2Error

Inheritance diagram of m2isar.M2ValueError

Inappropriate argument value (of correct type).

exception M2NameError[source]

Bases: NameError, M2Error

Inheritance diagram of m2isar.M2NameError

Name not found globally.

exception M2DuplicateError[source]

Bases: M2NameError

Inheritance diagram of m2isar.M2DuplicateError

Name not found globally.

exception M2TypeError[source]

Bases: TypeError, M2Error

Inheritance diagram of m2isar.M2TypeError

Inappropriate argument type.

exception M2SyntaxError[source]

Bases: SyntaxError, M2Error

Inheritance diagram of m2isar.M2SyntaxError

Invalid syntax.

flatten(xs)[source]