function compile (str, options) {
  return tokensToFunction(parse(str, options))
}
Compile a string to a template function for the path.

@param  {string}             str
@param  {Object=}            options
@return {!function(Object=, Object=)}