class Samovar::Nested
def parse(input, default)
def parse(input, default) if command = @commands[input.first] input.shift # puts "Instantiating #{command} with #{input}" command.new(input) elsif @default default || @commands[@default].new(input) end end