S expressions evaluators in Ruby and Javascript