kjstol schrieb:
On Wed, Apr 22, 2009 at 7:41 AM, Stephen Weeks <[email protected]> wrote:
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.


I would prefer everything to be case-sensitive. Although there is the
possibility of accidentally using a capital letter somewhere ("D'Oh! I
used 'perl6.pbc' instead of 'Perl6.pbc'! "), from a didactic point of
view it is more useful, IMHO. (the way I learn stuff is looking at
examples, and suppose 2 different spellings are used, then I "match"
where one spelling is used, and where the other one is used, if you
know what I mean).

cheers,
kjs

I second kjs's reply. Magic down or upcasing is IMHO more confusing than helpful.

Regards,
  Bernhard


_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to