Erlang Refactoring

H.Li <>
Wed Jun 21 13:23:02 CEST 2006


We, a group from the University of Kent in the UK, are in the early stage
of building a refactoring tool for Erlang. The current implementation 
supports renaming variable/function names, and generalisation of function
definitions, within a single module. 

We are now in the process of extending the implementation, so that the 
tool can work with multiple modules. Renaming module names is another
refactoring we would like to support in the future. 

At the same time, we would be more than happy to hear from you about what 
refactorings you think is useful for Erlang programmers.

Cheers,
Huiqing



>  
> Are there any Erlang refactoring programs that I can
> download and use?
> 
> I want to do the following:
> 
> 	I have a directory with Erlang modules
> 
> 	   glurk.erl
> 	   foo_server.erl
> 	   ...
> 
> 	And a Makefile
> 
> 	And I have a renaming scheme
> 
> 	Old Name         New Name
> 	glurk.erl        foo_bar_krulg.erl
> 	foo_server.erl   foo23_glunker.erl
>       ...
> 
> 
> I want some program that changes all the filenames and
> module names in a consistent manner, and which tries
> to keep the formatting of my programs intact.
> 
> Is there such a program? - << in the form of a function I
> evaluate in the Erlang shell - ie with no incomprehensible GUI >>
> 
> /Joe
> 
> 



More information about the erlang-questions mailing list