On Wed, Jul 30, 2003 at 10:44:51PM +0200 it came to pass that Christian Renz wrote: > Are there any plans to allow PMCs to be implemented in Parrot? Or am I > asking something stoopid :).
There are currently a lot of PMC types implemented directly in Parrot. If you look in the classes/ subdirectory of the Parrot distribution you see lots of files named "perlint.pmc" and so forth. These are the builtin PMC types... The fun about dynamically loadable PMC types is that if a language L needs/wants its own interesting implementation of a datatype T so that the L compiler writers can generate PIR like: P1=new LT then there is no need to extend the core Parrot engine (and clutter all non-L users with the necessity to carry the LT implementation around). Instead, one could do load_ext "LT" # or whatever P1=new LT to dynamically load the implementation of the LT data type from a shared library (or DLL, or LPA load module, or whatever your operating system groks). ++Jos.es -- ek is so lug jy vlieg deur my sonder jou is ek sonder patroon "Breyten Breytenbach"