A Rewriting Logic Implementation of Erlang