Package

com.netflix.atlas.core

stacklang

Permalink

package stacklang

Visibility
  1. Public
  2. All

Type Members

  1. case class Context(interpreter: Interpreter, stack: List[Any], variables: Map[String, Any], frozenStack: List[Any] = Nil) extends Product with Serializable

    Permalink

    State related to the execution of a stack language expression.

    State related to the execution of a stack language expression.

    interpreter

    Interpreter that is performing the execution.

    stack

    Stack that maintains the state for the program.

    variables

    Variables that can be set to keep state outside of the main stack. See the :get and :set operators for more information.

    frozenStack

    Separate stack that has been frozen to prevent further modification. See the :freeze operator for more information.

  2. case class Interpreter(vocabulary: List[Word]) extends Product with Serializable

    Permalink

    Interpreter for stack expressions.

    Interpreter for stack expressions.

    vocabulary

    Set of supported words. If multiple words have the same name, then the first one that matches with the current stack will get used.

  3. trait SimpleWord extends Word

    Permalink
  4. trait Vocabulary extends AnyRef

    Permalink
  5. trait Word extends AnyRef

    Permalink

    A small procedure that manipulates the stack.

Value Members

  1. object Extractors

    Permalink
  2. object Interpreter extends Serializable

    Permalink
  3. object StandardVocabulary extends Vocabulary

    Permalink

Ungrouped