Class: Brainfuck::AST::PutsNode
- Inherits:
-
Object
- Object
- Brainfuck::AST::PutsNode
- Defined in:
- lib/brainfuck/ast.rb
Instance Method Summary collapse
Instance Method Details
#bytecode(g) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'lib/brainfuck/ast.rb', line 85 def bytecode(g) g.push_const :STDOUT g.push_local 0 g.push_local 1 g.send :[], 1, false g.send :putc, 1, true end |