Class: Brainfuck::Stage::BfAST
- Inherits:
-
Rubinius::Compiler::Stage
- Object
- Rubinius::Compiler::Stage
- Brainfuck::Stage::BfAST
- Defined in:
- lib/brainfuck/stages.rb
Overview
This stage takes a ruby array as produced by the lexer and produces a tree of Brainfuck::AST nodes.
Instance Method Summary collapse
-
#initialize(compiler, last) ⇒ BfAST
constructor
A new instance of BfAST.
- #run ⇒ Object
Constructor Details
#initialize(compiler, last) ⇒ BfAST
Returns a new instance of BfAST.
98 99 100 101 |
# File 'lib/brainfuck/stages.rb', line 98 def initialize(compiler, last) @compiler = compiler super end |