Erlang Refactoring

Torbjorn Tornkvist <>
Wed Jun 21 13:04:23 CEST 2006


distel is great for refactoring pieces of erlang code.

--Tobbe


Joe Armstrong (AL/EAB) wrote:
>  
> 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