From 4fa6e4aa68410469b9b743b46312a04d3e5e48f0 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 31 Dec 2005 21:29:37 +0000 Subject: type prefixes svn path=/trunk/abstractions/pureunity/; revision=4337 --- README | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/README b/README index 56b4e2f..2235492 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -$Id: README,v 1.5 2005-12-31 18:44:54 matju Exp $ +$Id: README,v 1.6 2005-12-31 21:29:37 matju Exp $ PureUnity @@ -162,6 +162,43 @@ be adjusted, but both adjustments cancel because they get divided by each other. That means: don't divide by the sqrt(N) at all and you'll get an appropriate result. ++-+-+--+---+-----+--------+-------------+---------------------+ +TYPE PREFIXES + +Those have to be prefixes in order to be honored by DOLLSYM: +[$1norm] should expand to [fnorm], [lfnorm], [#norm], etc. + +Those prefixes are necessary in order to achieve polymorphism through +abstraction arguments. + +CURRENT: + f float + +FUTURE (from PureData): + ~ signal + s symbol + p gpointer + a anything + l list (of whatever) + lf list of floats + ls list of symbols + lp list of pointers + +FUTURE (from DesireData): + t stringpointer + L listpointer + v varpointer (instance symbol) + +FUTURE (from GridFlow): + # grid (of whatever) + #b grid of bytes (uint8) + #s grid of shorts (int16) + #i grid of ints (int32) + #l grid of longs (int64) + #f grid of floats (float32) + #d grid of doubles (float64) + #r grid of rubies (VALUE*) + +-+-+--+---+-----+--------+-------------+---------------------+ ETC -- cgit v1.2.1