Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [RFC PATCH] init_tech
Home

[Freeciv-Dev] Re: [RFC PATCH] init_tech

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Arien Malec <arien_malec@xxxxxxxxx>, Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC PATCH] init_tech
From: Daniel L Speyer <dspeyer@xxxxxxxxxxx>
Date: Fri, 5 Oct 2001 16:58:27 -0400 (EDT)

On Fri, 5 Oct 2001, Raimar Falke wrote:

> On Fri, Oct 05, 2001 at 04:00:06PM -0400, Daniel L Speyer wrote:
> > On Fri, 5 Oct 2001, Raimar Falke wrote:
> > 
> > > On Fri, Oct 05, 2001 at 12:15:01PM -0700, Arien Malec wrote:
> > > > 
> > > > --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > > > Can you give examples? Is someone working on this?
> > > > 
> > > > create tech automobile {
> > > >    name = "Automobile";
> > > >    req1 = ... }
> > > > 
> > > > (where braces might be parens, and semicolons might be commas)
> > > > 
> > > > No one is actively working on it. 
> > > 
> > > > I don't know what the status of the split function patch is --
> > > > that's the infrastructure that comes first.
> > > 
> > > The interface of the split method depends a bit on the user. So far no
> > > user has been mentioned.
> > 
> > For full power parethesi/quote handling, the split function will need to
> > understand them (recombining accidentally split segments is too big a
> > burden to put on later-stage elements). Does the present split do this?
> 
> What kind of power parethesi/quote handling are you talking about?
> 
> Should
>  split("a(b)c",PARENTHESES)
> be
>  ["a","b","c"] ??
> 

What I mean is 
  split("hello {thing in {braces that} are nested} "{" world",whitespace)
should return
  ["hello","{thing in {braces that} are nested}","\"{\"","world"]

--Daniel Speyer
"May the /src be with you, always"


>       Raimar
> 
> -- 
>  email: rf13@xxxxxxxxxxxxxxxxx
>  "Like the ad says, at 300 dpi you can tell she's wearing a
>   swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
>   can tell it's painted on. I suppose at 2400 dpi you can tell
>   if the paint is giving her a rash."
>     -- Joshua R. Poulson
> 



[Prev in Thread] Current Thread [Next in Thread]