On Mar 31, 2007, at 3:24 PM, Allison Randal wrote:
Jonathan Worthington wrote:
Does this also imply that all number-based type instantiation is
going away, and thus we need to deprecate the find_type op too?
Eventually, yes (almost certainly), but not in the next month.
Allison
I'm not sure how the imcc compiler handles the .Foo syntax internally,
but there's a file, runtime/parrot/include/pmctypes.pasm that at least
appears as though it's magically included into the beginning of every
pir/pasm file. If it were changed to output a string instead of an
integer, the dot syntax would still work with the strings(although the
under the hood part I don't know about). It's merely a macro
substitution if you think about it.
Plus it'd mean we wouldn't have to rewrite all of the tests, and keep
the old dot syntax that I personally like(easier for editors to detect
a typo).