[erlang-questions] Erlang analysis and refactoring: In Erlang or for Erlang?

Joel Reymont joelr1@REDACTED
Sun Jun 10 23:43:38 CEST 2007


Kenneth,

On Jun 10, 2007, at 9:31 PM, Kenneth Lundin wrote:

> I think it is very natural to write refactoring and analysis for
> Erlang in Erlang.
> - There already exist many different parsers, scanners and  
> refactoring tools
> for Erlang written in Erlang so it is easy to reuse and improve
> starting from these.

I'm coding in OCaml these days and I was thinking of using it. I  
would like to be able to work with abstract syntax trees internally  
which means re-parsing the editor buffer often. I'm not sure how  
Erlang would handle this task but I'm sure OCaml would not have a  
problem.

> There is ongoing work on a Wxwidgets binding for Erlang which looks
> really promising. With this it would be possible to write the whole
> graphics in Erlang and get nice native look and feel for Mac OSx,
> Windows, Linux, Solaris .....

Why not gtkNode? I haven't heard of WxWidgets for Erlang.

> I think that approach has a potential to attract a broader audience
> than something working only on Mac OSx which I understand is the  
> case with Cocoa.

I've been told that most of laptops at certain technical conferences  
are Macs, 8 out of 10 or something like that. I assume this is not  
the case at Ericsson, though. Do you guys develop on Windows? Linux?  
Solaris?

> Another approach for refactoring tools is to use Eclipse (it is  
> Java, I know).
> There is already a project ErlIde http://erlide.sourceforge.net/ where
> there are some refactoring capabilities and more to come.

I've got to have some fun along the road and make sure I enjoy the  
process, thus Java is out of my consideration. This is also why I was  
thinking about Cocoa, btw.

	Joel

--
http://topdog.cc      - EasyLanguage to C# translator
http://wagerlabs.com  - Blog








More information about the erlang-questions mailing list