HLL name vs. pbc name, case issues

Stephen Weeks tene at allalone.org
Wed Apr 22 06:41:43 UTC 2009


Right now, several HLLs are registering their name (with compreg
and .HLL) as uppercase, but generating pbcs with lowercase names.  For
example, compreg Perl6 vs. perl6.pbc.

This causes problems with the load_language opcode, possibly among other
situations.  For load_language to be used with current languages, either
load_language would need to downcase its argument, or HLLs will need to
downcase their arguments to load_language.  Passing the same argument
with different cases to similar opcodes feels hackish.  I'd prefer
everything be case-sensitive and consistent, but everything consistently
being case-insensitive about HLL names would be acceptable too.

Allison wants feedback on this from the general pool of HLL developers.

Please comment.



More information about the parrot-dev mailing list