Module: Plasma::Interpreter

Defined in:
lib/plasma.rb,
lib/plasma/include/plasma_core.rb,
lib/plasma/interpreter/plasma_grammar.rb,
lib/plasma/interpreter/plasma_grammarnode.rb,
lib/plasma/interpreter/plasma_interpreter.rb

Defined Under Namespace

Modules: PlasmaGrammar Classes: ApplyNode, Closure, ColNode, DateNode, DeclNode, DefNode, DefunNode, Env, ExpansionNode, FailedToParseException, FalseNode, FunNode, HashNode, IfNode, ListNode, NoSuchSourceException, NumNode, ParamsNode, PlainNode, PlasmaCore, PlasmaGrammarParser, PlasmaInterpreter, PlasmaNode, Quote, QuoteNode, RegexNode, RelationNode, RubyClosure, SeqNode, StrNode, SymNode, TemplateNode, TimeNode, TooManyArgumentsException, TrueNode, UnresolvedSymbolException

Constant Summary collapse

PLASMA =
PlasmaInterpreter.new

Class Method Summary collapse

Class Method Details

.interpret(code, env = nil) ⇒ Object



20
21
22
# File 'lib/plasma.rb', line 20

def self.interpret(code, env=nil)
  PLASMA.interpret(code, env)
end