[erlang-questions] RefactorErl released

Ulf Wiger ulf@REDACTED
Mon Sep 10 18:15:28 CEST 2007


Granted, there are a handful of SQL queries that to complex
relational joins, but QLC handles such things quite elegantly,
and even though joins in QLC have not yet been optimized, I'm
not at all sure that it would be visibly slower than MySql here.

It looks as one of those decisions made early: since we're going
to do relational joins, we need a relational database; Mnesia isn't
a relational database. Practially all of the 415 lines of code in
refactor_db would simply go away if mnesia were used.

I agree that it would be a good thing to port the database
handling to mnesia. It shouldn't take too long.

BR,
Ulf W

2007/9/10, Kirill Zaborski <qrilka@REDACTED>:
> So the question arises:
> Why do we need separate RDBMS installed when we have Mnesia in OTP
> distribution? And if the tool is implemented in Erlang (at the moment
> I can't access your website I receive connection timeout error) it is
> twice as strange.
>
> Best regards
> Kirill.
>
> On 9/10/07, lestat <lestat@REDACTED> wrote:
> Hi!
> >
> > The main idea behind the system is that we store the AST and the
> > statical semantical information(like visibility, scope) - required by
> > the refactorings - in the database.
> > The refactorings work directly on the database keeping it's consistency.
> > This way you do not have to reparse the code after every refactoring.
> > As another option this way you can easily create a batch of
> > refactorings and check out the files just after the last one.
> >
> > Regards,
> >         Tamas Nagy
> >
> > On Sep 10, 2007, at 3:19 PM, Kirill Zaborski wrote:
> >
> > > I wonder - why does it require MySQL?
> > >
> > > Best regards,
> > > Kirill.
> > >
> > > On 9/10/07, lestat <lestat@REDACTED> wrote:
> > > Hi!
> > >>
> > >> Our research team has released RefactorErl (a refactoring system for
> > >> Erlang) under EPL with seven working refactorings.
> > >>
> > >> It is available from the projects site:  http://plc.inf.elte.hu/
> > >> erlang/
> > >>
> > >> An installer package for Windows, and a source package for Linux,
> > >> Windows and Mac OS X are available for download.
> > >>
> > >> Questions, suggestions, bug reports, or feature requests are welcome
> > >> at erlang@REDACTED
> > >>
> > >> Regards,
> > >>         Tamas Nagy and the Team
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> erlang-questions mailing list
> > >> erlang-questions@REDACTED
> > >> http://www.erlang.org/mailman/listinfo/erlang-questions
> > >>
> >
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list