Class/Object

info.hupel.isabelle.api

Environment

Related Docs: object Environment | package api

Permalink

abstract class Environment extends AnyRef

Abstract interface for an Isabelle environment of a particular version in a path with an underlying PIDE machinery.

As opposed to a mere logic-less Setup, an environment knows how to manage Isabelle processes. It can also manage multiple running processes at the same time.

A subclass of this class is called implementation throughout libisabelle.

It is highly recommended to use Setup.makeEnvironment to instantiate implementations.

While implementations may be created freely by users, it is recommended to only use the bundled implementations for the supported Isabelle versions. By convention, they live in the package specified in Environment.packageName.

Contract

Footnote

Due to name clashes in the underlying PIDE machinery (which is provided by Isabelle itself and is not under control of libisabelle), it is impossible to have multiple environments for different versions in the same class loader. This is the primary reason why this class exists in the first place, to enable seamless abstraction over multiple PIDEs.

Self Type
Environment
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Environment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Environment(context: Context, versionOverride: Option[Version] = None, checkClassLoader: Boolean = true)

    Permalink
    Attributes
    protected

Type Members

  1. abstract type Session

    Permalink
    Attributes
    protected[info.hupel.isabelle]

Abstract Value Members

  1. abstract def build(config: Configuration): Int

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  2. abstract def create(config: Configuration, consumer: (Markup, Body) ⇒ Unit): (Session, Option[String])

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  3. abstract def decode(text: @@[String, Raw]): @@[String, Unicode]

    Permalink
  4. abstract def dispose(session: Session): Unit

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  5. abstract def encode(text: @@[String, Unicode]): @@[String, Raw]

    Permalink
  6. abstract def exec(tool: String, args: List[String]): Int

    Permalink
  7. abstract val exitTag: String

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  8. abstract val functionTag: String

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  9. abstract val initTag: String

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  10. abstract def isabellePath(path: String): String

    Permalink
  11. abstract def isabelleSetting(name: String): String

    Permalink
  12. abstract val printTags: Set[String]

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  13. abstract val protocolTag: String

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  14. abstract def sendCommand(session: Session, name: String, args: List[String]): Unit

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  15. abstract def sendOptions(session: Session): Unit

    Permalink
    Attributes
    protected[info.hupel.isabelle]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def cleanEtcComponents(): Unit

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val context: Context

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final val etc: Path

    Permalink
  11. final val etcComponents: Path

    Permalink
  12. final def eval(session: Session, ml: String): Unit

    Permalink
    Attributes
    protected[info.hupel.isabelle]
  13. final val evalCommand: String("libisabelle_eval")

    Permalink
    Attributes
    protected
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final val home: Path

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final val logger: Logger

    Permalink
    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def protocolTheory(loaded: Set[String]): Option[String]

    Permalink
    Attributes
    protected
  24. implicit final val scheduler: Scheduler

    Permalink
  25. final def setEtcComponents(): Unit

    Permalink
    Attributes
    protected
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    Environment → AnyRef → Any
  28. final val user: Path

    Permalink
  29. final val variables: Map[String, String]

    Permalink
  30. final val version: Version

    Permalink
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped