Listing languages

Andrew Whitworth wknight8111 at gmail.com
Tue Jan 6 13:41:06 UTC 2009


I'm updating some stuff about compreg in docs/book/, and it raised a
few questions:

1) Where does compreg look for language compiler packages? Does it
always look in languages/* for the list of packages, or can it be
configured to look elsewhere?
2) Is there a way to list from inside Parrot all the language packages
that are currently installed?
3) The compreg documentation says that it could either return an
object with a "compile" method, or else it returns a sub PMC that can
be invoked as a compiler. Is there any good way to tell when one is
used and when the other is? Is there any interest in standardizing
this behavior?

--Andrew Whitworth


More information about the parrot-dev mailing list