Show / Hide Table of Contents

Class Interpreter

Executes function graphs.

Inheritance
System.Object
Interpreter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fluency.Execution
Assembly: Execution.dll
Syntax
public class Interpreter

Constructors

| Improve this Doc View Source

Interpreter(Parser, Boolean)

Create a new interpreter using the specified parser.

Declaration
public Interpreter(Parser parser, bool printReady = false)
Parameters
Type Name Description
Parser parser
System.Boolean printReady

Methods

| Improve this Doc View Source

Execute(IEnumerable<String>, GetNext)

Execute the program represented by a bunch of lines of source code.

Declaration
public IEnumerable<Value> Execute(IEnumerable<string> program, GetNext input)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> program
GetNext input

The values to pass to the program.

Returns
Type Description
System.Collections.Generic.IEnumerable<Value>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX