Ruby-like interpreter implementation