Parrot and the PCT

Por Nuno Carvalho (‎smash‎) de
Data: sexta-feira, 6 de junho de 2008 15:20
Duração: 20 minutos
Língua: Português
Etiquetas: compilers machines parrot pct virtual

Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. It was initially created to run the newly improved, and community driven, version of Perl: Perl, but soon matured and grew into a project of it's own. Currently, a small number of languages already have at least, a working sub set of features in a compiler, or interpreter, that runs on Parrot. Built in garbage collection, multi-method dispatch, multiple concurrency models, a complex object and class model or exception systems are some of the advanced features that are prone to get your attention. The project also maintains a set of tools, Parrot Compiler Tools for example, that can be used to easily implement and develop a wide range of multipurpose compilers.

This talk aims to briefly introduce Parrot and it's core features, and the use of the Parrot Compiler Tools to craft compilers. We also take a short glimpse at some of the most advanced features and approach other interesting issues like performance and maintainability. Finally we demonstrate the use of this architecture to quickly create a compiler.