Towards a flexible Pharo Compiler

Clément Bera 1, * Marcus Denker 1
* Auteur correspondant
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : The Pharo Smalltalk-inspired language and environment started its development with a codebase that can be traced back to the original Smalltalk-80 release from 1983. Over the last years, Pharo has been used as the basis of many research projects. Often these experiments needed changes related to the compiler infrastructure. However, they did not use the existing compiler and instead implemented their own experimental solutions. This shows that despite being an impressive achievement considering its age of over 35 years, the compiler infrastructure needs to be improved. We identify three problems: (i) The architecture is not reusable, (ii) compiler can not be parametrized and (iii) the mapping between source code and bytecode is overly complex. Solving these problems will not only help researchers to develop new language features, but also the enhanced power of the infrastructure allows many tools and frameworks to be built that are important even for day-to-day development, such as debuggers and code transformation tools. In this paper we discuss the three problems, show how these are solved with a new Compiler model. We present an implementation, Opal, and show how Opal is used as the bases for many important tools for the everyday development of Pharo 3.
Type de document :
Communication dans un congrès
Loïc Lagadec and Alain Plantec. IWST, Sep 2013, Annecy, France. 2013
Liste complète des métadonnées

Littérature citée [15 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00862411
Contributeur : Lse Lse <>
Soumis le : lundi 16 septembre 2013 - 15:48:15
Dernière modification le : jeudi 11 janvier 2018 - 06:22:25
Document(s) archivé(s) le : jeudi 6 avril 2017 - 20:56:37

Fichier

Bera13a-OpalIWST.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00862411, version 1

Citation

Clément Bera, Marcus Denker. Towards a flexible Pharo Compiler. Loïc Lagadec and Alain Plantec. IWST, Sep 2013, Annecy, France. 2013. 〈hal-00862411〉

Partager

Métriques

Consultations de la notice

390

Téléchargements de fichiers

222