class BaseSchemeSemantics[V, Addr, Time] extends Semantics[SchemeExp, V, Addr, Time]
Basic Scheme semantics, without any optimization
- Alphabetic
- By Inheritance
- BaseSchemeSemantics
- Semantics
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BaseSchemeSemantics(primitives: Primitives[Addr, V])(implicit arg0: IsSchemeLattice[V], arg1: Address[Addr], arg2: Timestamp[Time])
Type Members
- type Actions = Set[Action[SchemeExp, V, Addr]]
- type Env = Environment[Addr]
- case class FrameAnd(rest: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameBegin(rest: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameCase(clauses: List[(List[SchemeValue], List[SchemeExp])], default: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameCond(cons: List[SchemeExp], clauses: List[(SchemeExp, List[SchemeExp])], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameDefine(variable: Identifier, env: Env) extends SchemeFrame with Product with Serializable
- case class FrameDoBody(toeval: List[SchemeExp], vars: List[(Identifier, V, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameDoInit(vars: List[(Identifier, V, Option[SchemeExp])], variable: Identifier, step: Option[SchemeExp], toeval: List[(Identifier, SchemeExp, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameDoStep(vars: List[(Identifier, V, Option[SchemeExp])], variable: Identifier, step: Option[SchemeExp], toeval: List[(Identifier, V, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameDoTest(vars: List[(Identifier, V, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameFuncallOperands(f: V, fexp: SchemeExp, cur: SchemeExp, args: List[(SchemeExp, V)], toeval: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameFuncallOperator(fexp: SchemeExp, args: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameIf(cons: SchemeExp, alt: SchemeExp, env: Env) extends SchemeFrame with Product with Serializable
- case class FrameLet(variable: Identifier, bindings: List[(Identifier, V)], toeval: List[(Identifier, SchemeExp)], body: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameLetStar(variable: Identifier, bindings: List[(Identifier, SchemeExp)], body: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameLetrec(addr: Addr, bindings: List[(Addr, SchemeExp)], body: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameOr(rest: List[SchemeExp], env: Env) extends SchemeFrame with Product with Serializable
- case class FrameSet(variable: Identifier, env: Env) extends SchemeFrame with Product with Serializable
- trait SchemeFrame extends Frame
- type Sto = Store[Addr, V]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to any2stringadd[BaseSchemeSemantics[V, Addr, Time]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (BaseSchemeSemantics[V, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to ArrowAssoc[BaseSchemeSemantics[V, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
actionToSet(action: Action[SchemeExp, V, Addr]): Set[Action[SchemeExp, V, Addr]]
- Definition Classes
- Semantics
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bindArgs(l: List[(Identifier, V)], env: Environment[Addr], store: Store[Addr, V], t: Time): (Environment[Addr], Store[Addr, V])
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def conditional(v: V, t: ⇒ Actions, f: ⇒ Actions): Actions
-
def
ensuring(cond: (BaseSchemeSemantics[V, Addr, Time]) ⇒ Boolean, msg: ⇒ Any): BaseSchemeSemantics[V, Addr, Time]
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to Ensuring[BaseSchemeSemantics[V, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (BaseSchemeSemantics[V, Addr, Time]) ⇒ Boolean): BaseSchemeSemantics[V, Addr, Time]
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to Ensuring[BaseSchemeSemantics[V, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): BaseSchemeSemantics[V, Addr, Time]
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to Ensuring[BaseSchemeSemantics[V, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): BaseSchemeSemantics[V, Addr, Time]
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to Ensuring[BaseSchemeSemantics[V, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evalBody(body: List[SchemeExp], env: Env, store: Sto): Actions
- Attributes
- protected
- def evalCall(function: V, fexp: SchemeExp, argsv: List[(SchemeExp, V)], store: Sto, t: Time): Actions
- def evalDoBody(toeval: List[SchemeExp], vars: List[(Identifier, V, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], t: Time, env: Env, store: Sto): Actions
- def evalDoStep(vars: List[(Identifier, V, Option[SchemeExp])], toeval: List[(Identifier, V, Option[SchemeExp])], test: SchemeExp, finals: List[SchemeExp], commands: List[SchemeExp], t: Time, env: Env, store: Sto): Actions
-
def
evalQuoted(exp: SExp, store: Sto, t: Time): (V, Sto)
- Attributes
- protected
-
def
evalValue(v: Value): Option[V]
- Attributes
- protected
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to StringFormat[BaseSchemeSemantics[V, Addr, Time]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
funcallArgs(f: V, fexp: SchemeExp, args: List[SchemeExp], env: Env, store: Sto, t: Time): Actions
- Attributes
- protected
-
def
funcallArgs(f: V, fexp: SchemeExp, args: List[(SchemeExp, V)], toeval: List[SchemeExp], env: Env, store: Sto, t: Time): Actions
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
initialBindings: List[(String, Addr, V)]
Defines the elements in the initial environment/store
Defines the elements in the initial environment/store
- Definition Classes
- BaseSchemeSemantics → Semantics
-
def
initialEnv: Iterable[(String, Addr)]
- Definition Classes
- Semantics
-
def
initialStore: Iterable[(Addr, V)]
- Definition Classes
- Semantics
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
mfActionToActions(mf: MayFail[Action[SchemeExp, V, Addr]]): Set[Action[SchemeExp, V, Addr]]
- Definition Classes
- Semantics
-
implicit
def
mfToActions(mf: MayFail[Set[Action[SchemeExp, V, Addr]]]): Set[Action[SchemeExp, V, Addr]]
- Definition Classes
- Semantics
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
parse(program: String): SchemeExp
Defines how to parse a program
Defines how to parse a program
- Definition Classes
- BaseSchemeSemantics → Semantics
-
def
stepEval(e: SchemeExp, env: Env, store: Sto, t: Time): Set[Action[SchemeExp, V, Addr]]
Defines what actions should be taken when an expression e needs to be evaluated, in environment env with store store
Defines what actions should be taken when an expression e needs to be evaluated, in environment env with store store
- Definition Classes
- BaseSchemeSemantics → Semantics
-
def
stepKont(v: V, frame: Frame, store: Sto, t: Time): Set[Action[SchemeExp, V, Addr]]
Defines what actions should be taken when a value v has been reached, and the topmost frame is frame
Defines what actions should be taken when a value v has been reached, and the topmost frame is frame
- Definition Classes
- BaseSchemeSemantics → Semantics
-
def
stepReceive(self: Any, mname: String, margsv: List[V], d: SchemeExp, env: Environment[Addr], store: Store[Addr, V], t: Time): Set[Action[SchemeExp, V, Addr]]
WIP
WIP
- Definition Classes
- Semantics
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (BaseSchemeSemantics[V, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from BaseSchemeSemantics[V, Addr, Time] to ArrowAssoc[BaseSchemeSemantics[V, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
-
object
Action extends ActionHelpers[Exp, Abs, Addr]
- Definition Classes
- Semantics