anchor.diff:  
   -export([start_ast_server/0, get_ast/1, update_ast/2]).
   
  --record(state, {asts=[]}).
  +-record(state, {dets_tab=none, asts=[]}).
   
   %%====================================================================
   %% API
  
positive.code: -spec(handle_cast/2::({update, {{filename(), boolean(), [dir()]}, {syntaxTree(), moduleInfo(), modifyTime()}}}, #state{}) ->
      {noreply, #state{}}).
  handle_cast({update, {Key, {AnnAST, Info, Time}}}, State) ->
      State1 = update_ast_1({Key, {AnnAST, Info, Time}}, State),
      {noreply, State1}.
  
  %%--------------------------------------------------------------------
  %% Function: handle_info(Info, State) -> {noreply, State} |
  
negative.code: %%--------------------------------------------------------------------
  %% Function: init(Args) -> {ok, State} |
  %%                         {ok, State, Timeout} |
  %%                         ignore               |t
  %%                         {stop, Reason}
  %% Description: Initiates the server
  %%--------------------------------------------------------------------
  -spec(init/1::([dir()]) ->
  	      {ok, #state{}}).
  init(_Args) ->
      process_flag(trap_exit, true),
      case file:get_cwd() of
  	{ok, Dir} ->
  	    TabDir = filename:join(Dir,"temp"),
  	    FileName=filename:join(TabDir, "wrangler_dets"),
  	    DetsTab = list_to_atom(FileName),
  	    file:delete(FileName),
  	    case file:make_dir(TabDir) of 
  		ok ->
  		    case dets:open_file(DetsTab,  [{type, set}, {access, read_write}, {repair, false}]) of 
  			{ok, _Name} ->  {ok, #state{dets_tab=DetsTab}};
  			_  ->  {ok, #state{dets_tab=none}}
  		    end;
  		{error, eexist} ->
  		    case dets:open_file(DetsTab,  [{type, set}, {access, read_write}, {repair, false}]) of 
  			{ok, _Name} ->  {ok, #state{dets_tab=DetsTab}};
  			_  ->  {ok, #state{dets_tab=none}}
  		    end;
  		_Others -> {ok, #state{dets_tab=none}}
  	    end;
  	{error, _} -> {ok, #state{dets_tab=none}}
      end.
    
  %%------------------------------------------------------------------
  -spec(get_ast/1::({filename(), boolean(), [dir()]}) ->
  	     {ok, {syntaxTree(), moduleInfo()}}).
  