wiki:parte/cefp

Version 11 (modified by tothm, 9 years ago) (diff)

--

Welcome to the wiki page of PaRTE-CEFP!

The ParaPhrase? Refactoring Tool for Erlang (PaRTE) integrates parallel pattern discovery, candidate prioritization and semi-automated refactoring for shaping Erlang code and introducing algorithmic skeletons provided the skel library.

Installation

  • Edit your .emacs file based on the instructions provided by the install script

Usage

  • Start a RefactorErl? node:
    cd referl/tool
    bin/referl -db nif
    
ri:add("path_to_my_file/my_file.erl").
refpp_api:run().
refpp_api:run([{modules, [matrix]}, {cand_types, [farm, pipe]}, {chains, false}]).
refpp_api:find().
  • Start your Emacs and use the PaRTE menu:
    M-x erlang-parte-on
    M-x refactorerl-mode on