Another quick question:

I wanted to use the new(ish) slot class declarations, but there isn't
one for 'character'. I assume this is because characters are integers
correct?

I can fudge it with a union class - e.g.

UNION: char integer ;

TUPLE: dialect
{ delimiter char initial: CHAR: , }
{ quotechar char initial: CHAR: " }
{ lineterminator string initial: "\n" } ;

Is this a crazy-arse thing to do?

Cheers,

Phil

Slava Pestov wrote:
> On Fri, May 29, 2009 at 4:25 AM, Phil Dawes <p...@phildawes.net> wrote:
>> Shall I stick with the combinator or do you still prefer the descriptors?
> 
> To be honest, I don't feel strongly one way or another. I haven't had
> an opportunity to use the CSV library in a real setting yet. So I was
> just throwing another approach out there. In the end, it is up to you;
> both configuration objects and dynamic variables are two fine
> approaches.
> 
> Slava
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 




------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to