Subscribe to our Erlang Factory newsletter to receive the latest updates and news

Melinda Toth
Researcher at ELTE and Leader of the RefactorErl Project
Eötvös Loránd University

Melinda Tóth is an assistant lecturer at the Faculty of Informatics, Eötvös Loránd University and a young researcher at ELTE-Soft Ltd. Her PhD research is focusing on functional languages and static program analysis. She took part in three large projects funded by the Hungarian Government. She is the leader of the RefactorErl group and the ELTE-Ericsson Software Technology Lab.

Melinda Toth is Giving the Following Talks
Extending Erlang by utilizing RefactorErl

RefactorErl is a widely known refactoring tool for Erlang. It is very good at static source code analysis as well as at program transformations. So far we only created semantics-preserving Erlang-to-Erlang program transformations, so-called refactorings.

Apparently, no one programming language has a syntax that fits everybody's desires. You can do your tricks with macros, and especially in Erlang, with parse transformations you can associate new meaning to constructs already present in the language. But what if this is not enough and you really wish to extend the language or introduce a syntactic sugar? We present a technique for customizing Erlang by building on the various features of RefactorErl. In particular, we demonstrate the method by implementing user-defined operators in Erlang by only changing a few lines in RefactorErl.

Talk objectives: Give the idea of using a refactoring tool to extend a programming language.

Target audience: Anyone interested in code analysis and code transformations.