 
 # Returns a list of svg commands with their parameters.
 groupCommands = (pathTokens) ->
+  console.log 'grouping tokens', pathTokens
   commands = []
   for i in [0...pathTokens.length]
     token = pathTokens[i]

# Breaks pathString into tokens
lexPath = (pathString) ->
  numberMatch = '-0123456789.'
  separatorMatch = ' ,'

  tokens = []
  currentToken = null

  for ch in pathString
    if numberMatch.indexOf(ch) > -1
      saveCurrentTokenWhenDifferentThan(NUMBER)
      saveCurrentToken() if ch == '-'

      currentToken = {type: NUMBER, string: []} unless currentToken
      currentToken.string.push(ch)
