[Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
Freeciv Developers <freeciv-dev@xxxxxxxxxxx> |
Subject: |
[Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs] |
From: |
Justin Moore <justin@xxxxxxxxxxx> |
Date: |
Wed, 26 Sep 2001 04:07:02 -0400 (EDT) |
> > > create tech atomic_theory
> > > name = _("Atomic Theory"),
> > > req1 = "Theory of Gravity",
> > > req2 = "Physics",
> > > flags = "";
> > >
> > > becomes:
> > >
> > > create tech.atomic_theory;
> > > set tech.atomic_theory.name _("Atomic Theory");
> > > set tech.atomic_theory.req1 = "Theory of Gravity";
> > > [etc.]
> > >
> > > The complex syntax is nicer to read, IMHO, but it may be desirable to go
> > > with
> > > the simpler syntax.
> >
> > How about:
> >
> > create tech atomic_theory
> > with tech atomic_theoury
> > set name _("Atomic Theory")
> > set req1 "Theory of Gravity"
> > set req2 "Physics"
> > endwith
> >
> > This is almost as brief as the brief form above, and is more general,
> > while still meeting the general command syntax. It could be compressed by
> > combining the first two lines (maybe with braces?) or by changing the
> > TI-EOS-like endwith to a bashish htiw.
>
> Well...
> Why not do it like this:
>
> create tech.atomic_theory (name="Atomic Theory",
> req1="Theory of Gravity",req2="Physics");
>
> can also be written as
>
> create tech.atomic_theory (
> name="Atomic Theory",
> req1="Theory of Gravity",
> req2="Physics");
>
> That seems very natural to me...
I was wondering how long it would be before we re-invented MySQL client
app syntax. :) ATM I'm just in favor of getting a decent parsing structure
in place. We can worry about the nitpicky semantics later (or you can
debate them now, I'll just code other stuff :)).
Ack. You know you're up late when the people in Europe start getting up
and dealing with their morning backlog of e-mail ...
-jdm
"You don't give blood then take it back again
We're all deserving of something more"
- "Grievance"
Department of Computer Science, Duke University, Durham, NC 27708-0129
Email: justin@xxxxxxxxxxx
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, (continued)
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Greg Wooledge, 2001/09/24
- [Freeciv-Dev] Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/24
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Daniel L Speyer, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Daniel Sjölie, 2001/09/26
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs],
Justin Moore <=
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Daniel Sjölie, 2001/09/26
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/26
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/28
- [Freeciv-Dev] commandline syntax and semantics (was: Server/ruleset unification), Reinier Post, 2001/09/28
- [Freeciv-Dev] Re: commandline syntax and semantics (was: Server/ruleset unification), Arien Malec, 2001/09/29
- [Freeciv-Dev] Re: commandline syntax and semantics (was: Server/ruleset unification), Reinier Post, 2001/09/30
- [Freeciv-Dev] Re: commandline syntax and semantics (was: Server/ruleset unification), Raimar Falke, 2001/09/30
- [Freeciv-Dev] Re: commandline syntax and semantics (was: Server/ruleset unification), Reinier Post, 2001/09/30
- [Freeciv-Dev] Re: commandline syntax and semantics (was: Server/ruleset unification), Raimar Falke, 2001/09/30
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/30
|
|