Tag Archives: Wrangler

  • EUC 2014 – Simon Thompson – Evolving your Projects with Wrangler
    2014-07-11 Erlang Central

    Videos



    Systems that are valuable have to be evolved. For instance, if you use a regular expression library in Erlang, you will have had to migrate from regexp to re; if you wish to migrate from R16 to R17, there are a number of changes that you may need to make. In this talk we'll show how Wrangler can help with this. Wrangler has an API migration facility - which we'll demonstrate - and this is built on an extensibility API and DSL for Wrangler that allows you to write your own refactorings and tra ...


    Read more


  • A Domain-Specific Language for Scripting Refactorings in Erlang
    2012-03-26 Erlang Central

    Videos



    Refactoring is the process of changing the design of a program without changing its behaviour. Many refactoring tools have been developed for various programming languages; however, their support for composite refactorings – refactorings that are composed from a number of primitive refactorings – is limited. In particular, there is a lack of powerful and easy-to-use frameworks that allow users to script their own large-scale refactorings efficiently and effectively. This paper introduces ...


    Read more


  • Tutorial: DIY Refactoring in Wrangler
    2011-10-31 Erlang Central

    Presentations

    Wrangler is an Erlang refactoring tool which provides a range of refactorings - including renaming, function extraction and generalisation - as well as facilities for clone detection and removal as well as improvement of the module structure of projects. Wrangler is integrated into emacs and Eclipse (via ErlIDE). Up to now, you could only use the refactorings built into Wrangler, or dive deep into the internals to extend it. The latest version of Wrangler now provides a much easier way of def ...


    Read more


  • DIY refactoring in Wrangler
    2011-06-06 Erlang Central

    Videos



    Wrangler is an Erlang refactoring tool which provides a range of refactorings - including renaming, function extraction and generalisation - as well as facilities for clone detection and removal as well as improvement of the module structure of projects. Wrangler is integrated into emacs and Eclipse (via ErlIDE). Up to now, you could only use the refactorings built into Wrangler, or dive deep into the internals to extend it. The latest version of Wrangler now provides a much easier way of def ...


    Read more


  • The good code, the bad code and the ugly code: using Wrangler to refactor Erlang programs and tests
    2010-03-22 Erlang Central

    Presentations

    Wrangler is an interactive refactoring tool for Erlang. We will introduce the system through a series of short demonstrations, and then concentrate on the 'similar code' detection facilities of Wrangler. Using these with the refactorings in Wrangler we show how code - particularly test code - can be shrunk dramatically, under the guidance of the test engineer. The talk is illustrated with examples from Open Source and commercial Erlang development projects. ...


    Read more


  • Tutorial – Wrangler
    2009-11-13 Erlang Central

    Presentations

    Wrangler is a refactoring tool which supports interactive refactoring for Erlang programs. It is integrated with both Emacs and Eclipse. Wrangler supports a variety of refactorings: Rename variable, module, function, process; Generalise function definition, Move function from a module to another; Function/ Macro extraction, Fold expressions against function/macro; Tuple function parameters, etc. Apart from refactorings, Wrangler also provides functionalities for "bad smell" detection ...


    Read more


  • Improving your test code with Wrangler
    2009-11-12 Erlang Central

    Videos



    In this talk we show the 'similar code' detection facilities of Wrangler, combined with its portfolio of refactorings, allow test code to be shrunk dramatically, under the guidance of the test engineer. The talk is illustrated with examples from Open Source and commercial Erlang development projects. ...


    Read more


  • Erlang and Eclipse
    2009-06-22 Erlang Central

    Presentations

    Eclipse is the open source, java-based IDE from IBM with support for many languages. In my talk I will demonstrate ErlIde, the Erlang IDE in Eclipse, and show how Eclipse can be used to do Erlang development. Some of the nice features will be demonstrated: debugging and tracing, multi-language development, using Wrangler to do Erlang refactoring within Eclipse. I will also compare ErlIde with other enviroments, and point out future development. ...


    Read more


  • Hands-on refactoring with Wrangler
    2009-06-22 Erlang Central

    Videos

    Wrangler supports refactoring for Erlang projects, and is embedded in emacs and Erlide, the Erlang plugin for Eclipse. With Wrangler you can perform basic refactorings, such as renaming a function across a project, or extracting a function from a piece of Erlang code. Wrangler also allows you to find duplicate or "similar" code across a project, and to refactor this to eliminate these code clones. This has proved to be very useful particularly in examining test code. You can also spot "bad sm ...


    Read more


  • Testing Wrangler with QuickCheck
    2009-06-22 Erlang Central

    Videos

    Refactoring tools ought to allow program developers to quickly and safely refactor their programs, especially large programs. However, a robust and safe refactoring tool is hard to develop, and most refactoring tools still contain bugs even after extensive testing. While unit testing does help to find bugs to refactoring tools, it is tedious to manually write test programs, and the coverage of the test cases is hard to guarantee because of all the possible programs you can potentially r ...


    Read more