Packages

  • package root
    Definition Classes
    root
  • class LamSemantics[Abs, Addr, Time] extends Semantics[LamExp, Abs, Addr, Time]

    This defines the semantics of call-by-value lambda expressions

    This defines the semantics of call-by-value lambda expressions

    Definition Classes
    root
c

LamSemantics

class LamSemantics[Abs, Addr, Time] extends Semantics[LamExp, Abs, Addr, Time]

This defines the semantics of call-by-value lambda expressions

Linear Supertypes
Semantics[LamExp, Abs, Addr, Time], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LamSemantics
  2. Semantics
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LamSemantics()(implicit arg0: LamLattice[Abs], arg1: Address[Addr], arg2: Timestamp[Time])

Type Members

  1. type Env = Environment[Addr]

    Shortcut for the environment

  2. case class FrameArg(e: LamExp, env: Env) extends LamFrame with Product with Serializable

    One frame to remember the operand when we evaluate the operator

  3. case class FrameFun(v: Abs) extends LamFrame with Product with Serializable

    And one frame to remember the operator value when we evaluate the operand

  4. trait LamFrame extends Frame

    We need some frames

  5. type Sto = Store[Addr, Abs]

    Shorcuct for the store

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to any2stringadd[LamSemantics[Abs, Addr, Time]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LamSemantics[Abs, Addr, Time], B)
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to ArrowAssoc[LamSemantics[Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. implicit def actionToSet(action: Action[LamExp, Abs, Addr]): Set[Action[LamExp, Abs, Addr]]
    Definition Classes
    Semantics
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bindArgs(l: List[(Identifier, Abs)], env: Environment[Addr], store: Store[Addr, Abs], t: Time): (Environment[Addr], Store[Addr, Abs])

    Binds arguments in the environment and store.

    Binds arguments in the environment and store. Arguments are given as a list of triple, where each triple is made of:

    • the name of the argument
    • the position of the argument
    • the value of the argument
    Attributes
    protected
    Definition Classes
    Semantics
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. def ensuring(cond: (LamSemantics[Abs, Addr, Time]) ⇒ Boolean, msg: ⇒ Any): LamSemantics[Abs, Addr, Time]
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to Ensuring[LamSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (LamSemantics[Abs, Addr, Time]) ⇒ Boolean): LamSemantics[Abs, Addr, Time]
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to Ensuring[LamSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): LamSemantics[Abs, Addr, Time]
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to Ensuring[LamSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): LamSemantics[Abs, Addr, Time]
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to Ensuring[LamSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to StringFormat[LamSemantics[Abs, Addr, Time]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def initialBindings: Iterable[(String, Addr, Abs)]

    Defines the elements in the initial environment/store

    Defines the elements in the initial environment/store

    Definition Classes
    Semantics
  20. def initialEnv: Iterable[(String, Addr)]
    Definition Classes
    Semantics
  21. def initialStore: Iterable[(Addr, Abs)]
    Definition Classes
    Semantics
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. implicit def mfActionToActions(mf: MayFail[Action[LamExp, Abs, Addr]]): Set[Action[LamExp, Abs, Addr]]
    Definition Classes
    Semantics
  24. implicit def mfToActions(mf: MayFail[Set[Action[LamExp, Abs, Addr]]]): Set[Action[LamExp, Abs, Addr]]
    Definition Classes
    Semantics
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def parse(program: String): LamExp

    The parse function just parses an expression from a string.

    The parse function just parses an expression from a string. We rely on an already-defined s-expression parser, and compile an s-expression in a lambda expression. There is some verbosity due to the fact that every s-expression is associated to a position information.

    Definition Classes
    LamSemanticsSemantics
  29. def stepEval(e: LamExp, env: Env, store: Sto, t: Time): Set[Action[LamExp, Abs, Addr]]

    The stepEval function defines how to perform an evaluation step on an expression

    The stepEval function defines how to perform an evaluation step on an expression

    Definition Classes
    LamSemanticsSemantics
  30. def stepKont(v: Abs, frame: Frame, store: Sto, t: Time): Set[Action[LamExp, Abs, Addr]]

    The stepKont function defines how to behave when we reached a value v and we have frame as the top continuation on the stack

    The stepKont function defines how to behave when we reached a value v and we have frame as the top continuation on the stack

    Definition Classes
    LamSemanticsSemantics
  31. def stepReceive(self: Any, mname: String, margsv: List[Abs], d: LamExp, env: Environment[Addr], store: Store[Addr, Abs], t: Time): Set[Action[LamExp, Abs, Addr]]

    WIP

    WIP

    Definition Classes
    Semantics
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (LamSemantics[Abs, Addr, Time], B)
    Implicit
    This member is added by an implicit conversion from LamSemantics[Abs, Addr, Time] to ArrowAssoc[LamSemantics[Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  38. object Action extends ActionHelpers[Exp, Abs, Addr]
    Definition Classes
    Semantics

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Semantics[LamExp, Abs, Addr, Time]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LamSemantics[Abs, Addr, Time] to any2stringadd[LamSemantics[Abs, Addr, Time]]

Inherited by implicit conversion StringFormat from LamSemantics[Abs, Addr, Time] to StringFormat[LamSemantics[Abs, Addr, Time]]

Inherited by implicit conversion Ensuring from LamSemantics[Abs, Addr, Time] to Ensuring[LamSemantics[Abs, Addr, Time]]

Inherited by implicit conversion ArrowAssoc from LamSemantics[Abs, Addr, Time] to ArrowAssoc[LamSemantics[Abs, Addr, Time]]

Ungrouped