Loris1123 / RbScheme

Scheme Interpreter written in Ruby
Other
1 stars 0 forks source link

TCO #11

Open Loris1123 opened 8 years ago

Loris1123 commented 8 years ago

Tail Call Optimization should be enabled for RbScheme.

To enable TCO in Ruby use this:

RubyVM::InstructionSequence.compile_option = {
  tailcall_optimization: true,
  trace_instruction: false
}

I have to debug if this will enable TCO in my Scheme-Recursions. For this I first have to do #10