Class: Brainfuck::AST::DecNode
- Inherits:
-
Object
- Object
- Brainfuck::AST::DecNode
- Defined in:
- lib/brainfuck/ast.rb
Instance Method Summary collapse
Instance Method Details
#bytecode(g) ⇒ Object
71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/brainfuck/ast.rb', line 71 def bytecode(g) g.push_local 0 g.push_local 1 g.dup_many(2) g.send :[], 1, false g. g. 0 g.send :[]=, 2, false g.pop end |