Dan Sugalski [EMAIL PROTECTED] wrote:
At 2:38 PM +0200 6/11/04, Bernhard Schmalhofer wrote:
how about having complex numbers as another basic PMC?
At least QCL, http://tph.tuwien.ac.at/~oemer/qcl.html, C99 and PDL,
http://pdl.perl.org/, have them as a basic type.
As well as Python.
For right
At 3:56 PM -0500 6/10/04, Matt Fowles wrote:
All~
Speaking of basic PMC types, I remember a bunch of basic array PMCs
that were discussed recently, some for each register type, some
which autovivified, some which didn't etc. I believe that a
stringarray was actually inserted (although
Dan Sugalski wrote:
I'm going to formally establish a basic set of
parrot PMC classes. We're going to now have:
Undef - The undefined value. Looks like 0, 0.0, false, or the empty
string, depending on how you peer at it. Can transform into any other
type. Assignment of an boolean, integer,
At 2:38 PM +0200 6/11/04, Bernhard Schmalhofer wrote:
Dan Sugalski wrote:
I'm going to formally establish a basic set of
parrot PMC classes. We're going to now have:
Undef - The undefined value. Looks like 0, 0.0, false, or the empty
string, depending on how you peer at it. Can transform
All~
Are you suggesting that these things use the PMC classes for
String|Integer|Float or should they use STRING|INTVAL|FLOATVAL? Also,
looking through CVS there appears to already be
array.pmc -- basic resizable array
floatvalarray.pmc -- Array of FLOATVALs
intlist.pmc -- Array of
At 12:57 PM -0500 6/11/04, Matt Fowles wrote:
All~
Are you suggesting that these things use the PMC classes for
String|Integer|Float or should they use STRING|INTVAL|FLOATVAL?
Externally? They should use the classes. When you do a get_pmc_keyed
from a StringArray, the result should be a String
Just to let everyone know, I'm going to make a few minor changes to
the repository over the next day or so. In addition to what's
hopefully a sane example of using morph (which, granted, has a
somewhat limited useful range, but...) I'm going to formally
establish a basic set of parrot PMC
All~
Speaking of basic PMC types, I remember a bunch of basic array PMCs that
were discussed recently, some for each register type, some which
autovivified, some which didn't etc. I believe that a stringarray was
actually inserted (although currently it just extends perlarray). I
currently