#deep_clone is the usual Marshalling hack to make a deep copy. It is rather slow, so use it sparingly. Helps with debugging SexpProcessors since you usually shift off sexps.
# File lib/sexp_processor.rb, line 399 def deep_clone Marshal.load(Marshal.dump(self)) end
This is just a stupid shortcut to make indentation much cleaner.
# File lib/sexp.rb, line 327 def s(*args) Sexp.new(*args) end