Packages

  • package root
    Definition Classes
    root
  • package info
    Definition Classes
    root
  • package kwarc
    Definition Classes
    info
  • package mmt
    Definition Classes
    kwarc
  • package api

    This is the main package of the MMT API.

    This is the main package of the MMT API.

    It holds subpackages for all data structures, data containers, and the central algorithms and services.

    Classes directly defined in the package

    Some minor classes that are used throughout MMT are defined in this package, in particular:

    • MMT URIs in the class Path and Namespace
    • processing and content errors in the class Error

    The package also contains root classes for certain types that are subclassed throughout the package. Most importantly:

    • StructuralElement: structure-level (= named) parts in the data structures for the MMT language: documents, theories, constants, ...
    • MMTTask: tasks for a single object: parsing, checking, ...
    • Rule: object-level part of the MMT language that is written in Scala

    Subpackages

    Data structures for the MMT language

    The data structures for the MMT languages are defined in 4 packages corresponding to the 4 levels: - documents: Documents and all other NarrativeElements - modules: Modules (= the toplevel declarations), in particular Theorys and Views - symbols: all Declarations inside modules, in particular Constants - objects: all anonymous Objects (e.g., formulas, functions, etc.), in particular Contexts and Terms

    The former 3 levels are jointly called 'structural' levels. All elements subclass StructuralElement, have an MMT URI, and carry an MMT URI referring to their parent in the MMT abstract syntax tree.

    Structural elements are extensible (via DerivedModules and DerivedDeclarations), and the package patterns defines declaration patterns as a built-in extension.

    All structural elements are mutable and implement the ContainerElement interface for changing their children. Objects, by contrast, are represented as immutable inductive types.(except for carrying metadata.Metadata and objects.ClientProperties). The boundary between structural elements and objects is mediated by ComponentContainers: these are mutable, owned by structural elements, and maintain objects.

    A few auxiliary data structures shifted to separate packages: - opaque: external (i.e., informal, computation) content - informal: partially outdated informal data structures - metadata: metadata annotations to all structural elements or objects

    The MMT main class and its internal state

    The package frontend contains the class Controller, which owns all state relevant for running MMT. Typically, each application creates a single instance of this class. The package also defines several other essential classes, most importantly MMT's extension (=plug-in, add-on) interfaces via the Extension class.

    The package libraries maintains the instances of MMT language data structures, in particular the Library class. Controller owns a Library, which stores all structural elements that have been loaded into memory.

    User interfaces

    The package frontend also contains the main executable classes, in particular the Shell class.

    The package gui collects all classes for building graphical user interfaces. This includes auxiliary classes for use in IDE plugins.

    The package web collects all classes for the HTTP interface of MMT.

    Physical storage of the MMT language files

    The package archives defines MMT Archives (= projects) as well as classes for building and working with archives. The latter include in particular the BuildManager and BuildTarget. Build targets include Importers and [Exporter]]s that translate between MMT and other formats.

    The package backend defines classes for maintaining archives and translating between the MMT URIs of structural elements and their physical storage locations.

    The central algorithms for processing MMT content

    The processing model of MMT consists of several major algorithms. - parser: read strings into MMT data structures - checking: check and refine MMT data structures - uom: pure computation on MMT data structures - proving: theorem proving on MMT data structures (in very early state)) - execution: imperative computation (in very, very early state) - presentation: rendering MMT data structures in user-facing formats (including HTML+presentation MathML)

    All algorithms are defined in Extensions coupled with default implementations. Moreover, all algorithms are split into two separate levels, one for structural elements and objects. See LeveledExtension.

    The package notations maintains the common code for parsing and presentation.

    The package valuebases maintains mathematical databases as a part of MMT.

    Other algorithms on the MMT data structures

    The package ontology contains a relational, semantic web-style ontology and query engine for it.

    The package moc contains change management.

    The package refactoring contains refactoring principles.

    General purpose utility functions

    The package utils defines general purpose APIs for files, URIs, HTML building, etc.

    Definition Classes
    mmt
  • package archives

    This package holds all classes related to MMT Archives (= project).

    This package holds all classes related to MMT Archives (= project).

    The BuildManager allows defining BuildTargets to run on archives, including in particular Importers and Exporters.

    Most archives are stored in hub of git repositories such as and MathHub or GitHub. Such hubs are represented by the class LMHHub, which allows for cloning, etc. archives.

    The list of currently open archives (from which MMT will load content if needed) is maintained by the backend.Backend.

    Definition Classes
    api
  • package backend

    This package maintains the interface between MMT content in persistent physical storage and MMT content loaded into memory.

    This package maintains the interface between MMT content in persistent physical storage and MMT content loaded into memory.

    The class Storage is the interface for individual physical storage containers. Most of the time this corresponds to a folder containing an archives.Archive.

    Content is usually stored in OMDoc XML format, which is parsed by the XMLStreamer.

    The class Backend maintains the registered storages and performs conversion between logical MMT URIs and physical locations.

    The frontend.Controller owns an instance of Backend. Any referenced MMT URI is lazily and transparently loaded from the backend into memory and unloaded if MMT runs out of memory.

    Definition Classes
    api
  • package checking

    The algorithm for checking MMT content.

    The algorithm for checking MMT content. See api for an overview of the algorithms.

    The main interfaces are - Checker: the main interface for checkers (combining a structure and an object checker) - StructureChecker: checking structural elements - ObjectChecker: checking objects

    The main implementations are - MMTStructureChecker for structural elements - RuleBasedChecker for objects

    The latter creates a Solver for each judgment, which perform type reconstruction.

    Structure checking is not extensible except through DerivedElements. Object checking is extensible through Rules.

    Definition Classes
    api
  • package documents

    NarrativeElements are all elements that do not have a semantics of their own.

    NarrativeElements are all elements that do not have a semantics of their own.

    The most important case are Documents. Inside, documents a few other other documents may occur.

    Definition Classes
    api
  • package execution

    The algorithm for imperatively executing MMT content.

    The algorithm for imperatively executing MMT content. This is currently very young and immature.

    See api for an overview of the algorithms.

    Definition Classes
    api
  • package frontend

    This package defines several central classes: - Controller is the main MMT class.

    This package defines several central classes: - Controller is the main MMT class. - Shell is the main executable (which will create one controller). - MMTConfig is the MMT configuration data structure. A controller maintains one configuration. - Extension is the addon/plugin interface of MMT. Every extension has access to one controller instance. - Report handles logging, and every instance of Logger has access to a report instance.

    Definition Classes
    api
  • package actions
  • ArchiveConf
  • BackendConf
  • ChangeListener
  • Closure
  • Component
  • ConfEntry
  • ConsoleHandler
  • Controller
  • ControllerState
  • DatabaseConf
  • Deps
  • Elaboration
  • EnvVarConf
  • Extension
  • ExtensionConf
  • ExtensionManager
  • FileHandler
  • FileServerHere
  • ForeignConf
  • FormatBasedExtension
  • FormatConf
  • Get
  • HtmlFileHandler
  • InteractiveSimplifier
  • LMHConf
  • LeveledExtension
  • Logger
  • MMTConfig
  • MMTILoop
  • MMTInterpolator
  • MMTScript
  • MMTScriptEngine
  • Make
  • MakeAbstract
  • MakeConcrete
  • MathPathConf
  • Memory
  • NamespaceConf
  • NotFound
  • Notify
  • Output
  • Plugin
  • Present
  • Print
  • ProfileConf
  • REPLExtension
  • ROController
  • ROMemory
  • RecordingHandler
  • Report
  • ReportHandler
  • Respond
  • Run
  • SemanticsConf
  • Shell
  • ShellArguments
  • ShellExtension
  • ShellSendCommand
  • StandardIOHelper
  • StandardREPL
  • StructureTrffaverser
  • TextFileHandler
  • ToFile
  • ToWindow
  • package gui

    GUIPanel and [GUIFrame]] maintain a swing-based graphical interface to the frontend.Controller and its children.

    GUIPanel and [GUIFrame]] maintain a swing-based graphical interface to the frontend.Controller and its children.

    Definition Classes
    api
  • package informal
    Definition Classes
    api
  • package libraries

    Library maintains the structural elements that have been loaded into memory.

    Library maintains the structural elements that have been loaded into memory. That includes the theory diagram and all documents.

    ImplicitGraph maintains the commutative sub-diagram of implicit morphisms.

    Definition Classes
    api
  • package metadata

    MetaDatum is the stateless class that represents metadata items.

    MetaDatum is the stateless class that represents metadata items.

    MetaData statefully maintains a set of MetaDatums.

    Elements that have metadata inherit from HasMetaData.

    Linker and Tagger make setting and getting metadata easier.

    Definition Classes
    api
  • package moc

    Change is the main class statelessly representing differences/changes.

    Change is the main class statelessly representing differences/changes.

    Differ is a differ for MMT data structures.

    Definition Classes
    api
  • package modules

    MMT Modules, i.e., Theorys and Views.

    MMT Modules, i.e., Theorys and Views.

    Link unifies Views and symbols.Structures, the two kinds of atomic theory morphisms.

    ModuleOrLink unifies the two. That class defines most of the state of a module, in particular the body.

    Definition Classes
    api
  • package notations

    This package maintains the common data structures for parsing and presentation.

    This package maintains the common data structures for parsing and presentation.

    TextNotation is the main notation class. It is similar to MMT objects, in particular it is stateless.

    NotationContainer statefully maintains the notations assigned to a declaration. These are owned by StructuralElements to carry notations, akin to how they carry type/definition.

    Definition Classes
    api
  • package objects

    MMT objects are

    MMT objects are

    AnonymousDiagram, AnonymousTheory, and AnonymousMorphism represent anonymous counterparts to libraries.Library modules.Module}.

    This package also contains various auxiliary classes: - Position defines paths within objects - SubstitutionApplier is the main interface for substitution strategies. - Matcher is a simple matcher.

    Definition Classes
    api
  • package ontology

    This package contains a relational ontology and a query engine for it.

    This package contains a relational ontology and a query engine for it.

    The main classes are: - RelationalElement defines the concepts and relation of the ontology (TBox) - RelationalManager extracts the ABox from MMT content - RelStore maintains the model of the ontology (ABox) - RelationGraphExporter allows exporting the ABox as a graph. - Query defines a query language for the ontology - Evaluator implements the query language for a given ABox. - Search maintains classes for faceted search, in particular the facet for MathWebSearch.

    Definition Classes
    api
  • package opaque

    Informal or unknown content that MMT does not process.

    Informal or unknown content that MMT does not process. The main classes are - OpaqueElement: such content - OpaqueElementInterpreter the abstract interface for extensions that interpret it

    Definition Classes
    api
  • package parser

    The algorithm for parsing MMT content (strings to MMT data structures).

    The algorithm for parsing MMT content (strings to MMT data structures). See api for an overview of the algorithms.

    The main interfaces are - Parser: the main interface for parser (combining a structure and an object parser) - StructureParser: parsing structural elements - ObjectParser: parsing objects

    The main implementations are - KeywordBasedParser for structural elements in .mmt files - NotationBasedParser for objects

    The latter creates a Scanner for each string, which applies notations to parse user-defined mixifx syntax.

    Structure parsing is extensible using ParserExtensions. Object parsing is extensible using notations or LexerExtensions.

    Definition Classes
    api
  • package patterns

    Declaration patterns in the sense of Horozal's PhD thesis, realized as two special cases of structural features: - Pattern for the patterns (elaborates to nothing) - Instance for the instances of patterns (elaborates by looking up the pattern)

    Declaration patterns in the sense of Horozal's PhD thesis, realized as two special cases of structural features: - Pattern for the patterns (elaborates to nothing) - Instance for the instances of patterns (elaborates by looking up the pattern)

    Definition Classes
    api
  • package presentation

    The algorithm for presenting MMT content (data structures to user-facing formats).

    The algorithm for presenting MMT content (data structures to user-facing formats). See api for an overview of the algorithms.

    The main interfaces are - Presenter: the main interface for parser (combining a structure and an object parser) - StructurePresenter: presenting structural elements - ObjectPresenter: presenting objects

    The main implementations are (in each case for structural elements and objects) - for OMDoc XML: OMDocPresenter resp. OpenMathPresenter - for plain strings (using the toString methods): TextPresenter resp. ObjectTextPresenter - for nice human-oriented strings: MMTStructurePresenter resp. NotationBasedParser - for HTML: HTMLPresenter resp. MathMLPresenter

    Definition Classes
    api
  • package proving

    The algorithm for proving theorems about MMT content.

    The algorithm for proving theorems about MMT content. This is very premature and experimental.

    See api for an overview of the algorithms.

    The main interfaces are - Prover: object level proving

    Structure level proving does not exist yet.

    The main implementations are - RuleBasedProver for object-level proving

    The latter creates a Searcher for each proving task, which applies search rules to find MMT objects.

    Definition Classes
    api
  • package refactoring
    Definition Classes
    api
  • package symbols

    MMT Declarations are the elements of Modules.

    MMT Declarations are the elements of Modules. The kinds of declarations are documented at Declaration.

    ObjContainer are owned by structural elements, in particular by declarations, to store objects.

    Definition Classes
    api
  • package uom

    The algorithm for immutably computing with MMT content, i.e., simplification (strings to MMT data structures).

    Simplification

    The algorithm for immutably computing with MMT content, i.e., simplification (strings to MMT data structures). See api for an overview of the algorithms.

    The main interfaces are - Simplifier: the main interface for parser (combining a structure and an object simplifier) - StructureSimplifier: simplifying structural elements - ObjectSimplifier: simplifying objects

    The main implementations are - ElaborationBasedSimplifier for structural elements - RuleBasedSimplifier for objects

    Structure simplification is extensible using derived elements. Object simplification is extensible using rules.

    Literals and semantic objects

    This package also contains the classes for using Scala objects as MMT literals.

    SemanticType defines types as sets of Scala objects. SemanticValue defines a distinguished element of such a type. SemanitcOperator defines functions on such types as Scala functions.

    Literals and operations on them are injected into the MMT language by declaring RealizedValue, RealizedType and RealizedOperator rules, which tie a syntactic type/operator (i.e., an MMT term) to a semantic counterpart.

    StandardLiterals defines semantic types for the most important types.

    RealizedTheory represents an MMT theory programmed in Scala, usually as a Scala class.

    Scala companion objects for MMT theories

    TheoryScala and ConstantScala are auxiliary classes that are useful when implementing MMT rules or other logic-specific algorithms.

    Definition Classes
    api
  • package utils

    This package defines various MMT-independent high-level APIs.

    This package defines various MMT-independent high-level APIs. Various basic functions are declared directly in this package object in order to be easily available.

    Most other files in this package are self-contained and independent of the rest of MMT and each other. We describe them in groups below.

    Data structures*

    - Union disjoint union of Scala types - MyList extensions of Scala's lists (via implicit conversions) - HashRelation, HashMapToSet, and HashEquality: hash-related data structures for - While while loops that allow for break and continue

    General purpose utilities

    - Killable tasks that can be notified that they should be canceled. In particular, MMTTasks can be aborted without risking an inconsistent state. - Unparsed for simple parsing of strings - ScalaTo serialization helpers for Scala objects - ValueCache factory methods that introduce structure sharing by resuing previous pointers - XMLToScala framework for conveniently turning a set of case classes into an XML parser for the corresponding schema

    Wrappers for low-level APIs

    MMT provides various APIs that extend or simplify APIs provided Java or Scala: - File file paths and interacting with files - URI URIs - xml various helper function for working with XML and dereferencing URLs (not really a wrapper but fits best here) - ShellCommand commands executed on the system shell

    APIs for external languages

    - Dot the dot languages for graph layouting - JSON the JSON language - HTML API for building HTML pages programmatically

    Definition Classes
    api
  • package valuebases

    This package maintains databases of cocnrete mathematical objects.

    This package maintains databases of cocnrete mathematical objects.

    Concrete objects are special MMT Terms that can be represented as concrete database objects (e.g., JSON). The connection between the two is mediated by Codecs and CodecOerator. The codec-based translation is implemented in the Coder.

    Definition Classes
    api
  • package web

    Server maintains the HTTP interface of MMT.

    Server maintains the HTTP interface of MMT. The server is owned by the frontend.Controller.

    It can be customized by ServerExtensions.

    The REPLServer maintains a set of independent REPL loops for MMT content.

    Definition Classes
    api
p

info.kwarc.mmt.api

frontend

package frontend

This package defines several central classes: - Controller is the main MMT class. - Shell is the main executable (which will create one controller). - MMTConfig is the MMT configuration data structure. A controller maintains one configuration. - Extension is the addon/plugin interface of MMT. Every extension has access to one controller instance. - Report handles logging, and every instance of Logger has access to a report instance.

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. frontend
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ArchiveConf(id: String, formats: List[String], readonly: Boolean) extends BackendConf with Product with Serializable

    registers an archive with its formats and a flag of whether it is readonly (pregenerated) or should be built

  2. abstract class BackendConf extends ConfEntry
  3. trait ChangeListener extends Extension

    A ChangeListener is an Extension that is called on every Constant

  4. case class Closure(p: Path) extends MakeAbstract with Product with Serializable

    retrieves the closure of a knowledge item

  5. case class Component(p: Path, comp: ComponentKey) extends MakeAbstract with Product with Serializable

    retrieves a component of a knowledge item

  6. abstract class ConfEntry extends AnyRef

    an entry in an MMT configuration file (see MMTConfig)

  7. class Controller extends ROController with ActionHandling with Logger

    A Controller is the central class maintaining all MMT content and extensions.

    A Controller is the central class maintaining all MMT content and extensions.

    Every application (e.g., Shell) typically creates one controller. The controller creates and owns one instance of many MMT clasess (see the documentation of the respective fields below).

    It also maintains the MMTConfig and exectures Actions.

  8. class ControllerState extends AnyRef

    minor variables kept by the controller, usually modifiable via actions

  9. case class DatabaseConf(url: URI, uri: URI) extends BackendConf with Product with Serializable

    registers a remote database

  10. case class Deps(path: Path) extends MakeConcrete with Product with Serializable

    retrieves all relational elements about a certain path and renders them as XML

  11. case class Elaboration(p: Path) extends MakeAbstract with Product with Serializable

    retrieves the elaboration of an instance

  12. case class EnvVarConf(id: String, value: String) extends ConfEntry with Product with Serializable

    sets an MMT-specific environment variable

  13. trait Extension extends Logger
  14. case class ExtensionConf(key: String, cls: String, args: List[String]) extends ConfEntry with Product with Serializable

    registers BuildTargets with their arguments

    registers BuildTargets with their arguments

    key

    the key of the target

    cls

    the qualified Java class name of this target's implementation (must only be on the class path if this target is actually used)

    args

    the arguments to be used if this target is instantiated

  15. class ExtensionManager extends Logger

    An ExtensionManager maintains all language-specific extensions of MMT.

    An ExtensionManager maintains all language-specific extensions of MMT. This includes Compilers, QueryTransformers, and Foundations. They are provided as plugins and registered via their qualified class name, which is instantiated by reflection.

  16. abstract class FileHandler extends ReportHandler

    common methods for logging to a file

  17. class FileServerHere extends ShellExtension

    example shell extension that starts a static HTTP server serving the current directory

  18. case class ForeignConf(section: String, key: String, values: List[String]) extends ConfEntry with Product with Serializable

    ignored by MMT but available to plugins

  19. trait FormatBasedExtension extends Extension

    extensions classes that can be tested for applicability based on a format string

  20. case class FormatConf(id: String, importers: List[String], exporters: List[String]) extends ConfEntry with Product with Serializable

    defines an archive format

    defines an archive format

    id

    the format name

    importers

    the importers to be used for archives of this format

    exporters

    the exporters to be used for archives of this format

  21. case class Get(p: Path) extends MakeAbstract with Product with Serializable

    retrieves a knowledge item

  22. class HtmlFileHandler extends FileHandler

    outputs to a file in html syntax

  23. class InteractiveSimplifier extends AnyRef
  24. case class LMHConf(local: File, https: Boolean, remote: Option[URI]) extends BackendConf with Product with Serializable

    registers a set of LMH working copies

  25. trait LeveledExtension extends Extension

    Common super class of all extensions, whose functionality is systematically split between structure and object level

    Common super class of all extensions, whose functionality is systematically split between structure and object level

    Implementing classes should have a constructor that takes an Extension providing the object level functionality and add the structure level functionality.

  26. trait Logger extends AnyRef

    extended by all classes that use the logging aspect

  27. class MMTConfig extends AnyRef

    an MMT configuration stores catalogs for finding extensions, archives, etc.

    an MMT configuration stores catalogs for finding extensions, archives, etc. It is a list of ConfEntry that can be read from a .cfg file

  28. class MMTILoop extends ILoop

    a wrapper around the interactive Scala interpreter

  29. class MMTInterpolator extends AnyRef

    provides convenience methods to be used in an interactive Scala interpreter session

    provides convenience methods to be used in an interactive Scala interpreter session

    usage: val ip = new MMTInterpolator(controller); import i.MMTContext

  30. abstract class MMTScript extends Extension

    parent class for classes generated from .mbt

    parent class for classes generated from .mbt

    all methods defined in this class can be used inside .mbt scripts

  31. class MMTScriptEngine extends AnyRef

    executes a file as an MMTScript by calling Scala reflection

  32. class Make extends ShellExtension

    a make-like shell extension that calls a build target on a file/folder in an archive

  33. abstract class MakeAbstract extends AnyRef

    represent retrieval operations that return content elements

    represent retrieval operations that return content elements

    These objects become Action commands by wrapping them in post-processing steps. see the children of MakePresentation

  34. abstract class MakeConcrete extends AnyRef

    represents the first post-processing phase

    represents the first post-processing phase

    These produce concrete syntax from the abstract syntax.

  35. case class MathPathConf(local: File) extends BackendConf with Product with Serializable

    registers a folder on which to find archives

  36. class Memory extends ROMemory

    Groups all stateful objects of the controller that store MMT data

  37. case class NamespaceConf(id: String, uri: URI) extends ConfEntry with Product with Serializable

    declares an abbreviation (CURIE-style namespace prefix) for a URI

  38. case class NotFound(path: Path, found: Option[Path] = None) extends Throwable with Product with Serializable

    An exception that is thrown when a needed knowledge item is not available

    An exception that is thrown when a needed knowledge item is not available

    A Controller catches it and retrieves the item dynamically.

    path

    the URI of the not-found element

    found

    a parent URI that has been loaded

  39. class Notify extends AnyRef

    Convenience class to notify a set of ChangeListeners

  40. abstract class Output extends AnyRef

    represents the final post-processing phase, which outputs concrete syntax

  41. case class Present(c: MakeAbstract, param: String) extends MakeConcrete with Product with Serializable

    takes a content element and renders it using notations

  42. case class Print(pres: MakeConcrete) extends Output with Product with Serializable

    prints to STDOUT

  43. case class ProfileConf(id: String, archives: List[String]) extends BackendConf with Product with Serializable

    Registers a profile as a subset of active archives

  44. trait REPLExtension extends Extension

    An extension that provides REPL functionality to MMT.

  45. abstract class ROController extends AnyRef

    An interface to a controller containing read-only methods.

  46. abstract class ROMemory extends AnyRef

    A read-only abstraction of memory

  47. class RecordingHandler extends ReportHandler

    remembers logged lines

  48. class Report extends Logger

    Instances of Report handle all output to the user

  49. abstract class ReportHandler extends AnyRef

    takes a log message from Report and displays/stores etc.

    takes a log message from Report and displays/stores etc. it

  50. case class Respond(pres: MakeConcrete) extends Output with Product with Serializable

    produces the result and throws it away

    produces the result and throws it away

    call get to keep it in memory and retrieve it

  51. case class SemanticsConf(theory: MPath, cls: String, args: List[String]) extends ConfEntry with Product with Serializable

    registers an extension providing opaque semantics for a theory

    registers an extension providing opaque semantics for a theory

    theory

    the theory

    cls

    the implementing extension

  52. class Shell extends StandardIOHelper

    Creates a Controller and provides a shell interface to it.

    Creates a Controller and provides a shell interface to it.

    The command syntax is given by the Action class and the parser in its companion object.

  53. case class ShellArguments(help: Boolean, about: Boolean, mmtFiles: List[String], scalaFiles: List[String], cfgFiles: List[String], commands: List[String], shell: Boolean, noshell: Boolean, keepalive: Boolean, useQueue: Boolean, verbosity: Int) extends Product with Serializable

    Represents arguments passed to MMT on the command line.

    Represents arguments passed to MMT on the command line.

    help

    Should we print a help text

    about

    Should we print an about text

    mmtFiles

    List of MMT files to load

    scalaFiles

    List of Scala files to load

    cfgFiles

    List of config files to load

    commands

    List of commands to run

    shell

    interactive mode requested (show shell, terminate manually)

    noshell

    batch mode unrequested (no shell, terminate immediately)

    keepalive

    server mode requested (after shell (if at all) terminate only when processes finished)

    verbosity

    <0: no output, >=0: console output, >10: console output including debug

  54. class ShellSendCommand extends ShellExtension

    pass on arguments to an MMT server instance and terminate

  55. trait StandardIOHelper extends AnyRef

    mixes in helper functions for interactive shells

  56. class StandardREPL extends REPLExtension

    The standard, bare-bones implementation of the REPL

  57. class StructureTrffaverser extends AnyRef

    This class can be used to conveniently apply the same operation to all terms in a structural element

  58. class TextFileHandler extends FileHandler

    outputs to a file

  59. case class ToFile(pres: MakeConcrete, file: File) extends Output with Product with Serializable

    writes to a file

  60. case class ToWindow(pres: MakeConcrete, window: String) extends Output with Product with Serializable

    displays content in a window

  61. abstract class Plugin extends Extension

    extensions that provide semantics for MMT theories

    extensions that provide semantics for MMT theories

    Annotations
    @MMT_TODO( message = ... )
    Deprecated

    contents of plugins should become rules, registered build targets (which are loaded on demand) or content-generating operators that are declared in theories

  62. abstract class ShellExtension extends FormatBasedExtension

    used to add a new command line application to MMT

    used to add a new command line application to MMT

    ShellExtensions are looked for after all configurations are loaded. These must contain the corresponding ExtensionConf entry so that MMT can find a ShellExtension.

    Annotations
    @MMT_TODO( message = "use ActionCompanion instead" )
    Deprecated

    use ActionCompanion instead

Value Members

  1. object ConsoleHandler extends ReportHandler

    outputs to standard output

  2. object Controller
  3. object MMTConfig

    helper functions for configurations

  4. object Report
  5. object Run extends Shell

    A shell, the default way to run MMT as an application

  6. object Shell
  7. object ShellArguments extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped