Class Farts::Interpreter
In: lib/farts/farts_parser.rb
Parent: Object
SyntaxNode
LiteralSyntaxNode
ProgramSyntaxNode
CallSyntaxNode
CommentSyntaxNode
EndSyntaxNode
AttributeSyntaxNode
LocalVarSyntaxNode
IfSyntaxNode
CommandSyntaxNode
Racc::Parser
Parser
StringScanner
Lexer
Interpreter
Lib
Farts
Module: Farts

The Interpreter class is an instance of a machine to execute a program

Methods

Attributes

hitbreak  [RW] 
retval  [RW] 
vars  [RW] 

Public Class methods

Construct an interpreter machine

vars
A hash table of attribute name/value pairs.
  Currently we support 'actor' and 'this', where they are the first
  two parameters of an event respectively.

Public Instance methods

[Validate]