Patrick R. Michaud schrieb:
related to this, I think that imcc also allows for built-in types as
types.
such as ".local Array a" etc. (sorry can't check; don't have my own pc
around here, this is a public pc) (I added some notes about this and other
PIR cleanups in languages/PIR and I think also in compilers/pirc IIRC).
In fact, I think many PIR programmers will find this confusing.
Let's stick with 'pmc' for now -- we can extend it later if need be.
The question is not whether this feature should be added, but whether it
should be
first deprecated and then removed.
Currently
.sub main :main
.local Array my_string
my_string = new String
my_string = 'hello'
say my_string
.end
is valid PIR.
Regards,
Bernhard