 
 is_whitespace = (char)->
   /\s/.test char
-
-util = require 'util'
 
 class Match
   constructor: (@start_in_before, @start_in_after, @length)->

        match.end_in_after + 1, end_in_after,
        matching_blocks

create_index = (p)->
  throw new Error 'params must have find_these key' unless p.find_these?
  throw new Error 'params must have in_these key' unless p.in_these?

  return index

find_matching_blocks = (before_tokens, after_tokens)->
  matching_blocks = []
  index_of_before_locations_in_after_tokens =
    create_index
      find_these: before_tokens
      in_these: after_tokens

  recursively_find_matching_blocks before_tokens, after_tokens,
    index_of_before_locations_in_after_tokens,
    0, before_tokens.length,
    0, after_tokens.length,
    matching_blocks

calculate_operations = (before_tokens, after_tokens)->
  matches = find_matching_blocks before_tokens, after_tokens

  #--work on matches--


