[Freeciv-Dev] Re: do you really want to work on the ~ (was: registry)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Dec 06, 2001 at 11:46:43AM +0100, Petr Baudis wrote:
> Dear diary, on Thu, Dec 06, 2001 at 08:35:40AM CET, I got a letter, where
> Jules
> Bean <jules@xxxxxxxxxxxxxxx> told me, that...
> If you are still talking about easy modifiability, that C-like
> format is easy to modify in probably anything and I seriously can't
> think about anything easier ;) (even XML mode of emacs -
> <noflame>altough I never tried it as I just find emacs itself too
> hard to control for me so I don't have it even installed,
> sorry</noflame>[uh, that xml is not so bad ;]).
Well, XML mode of emacs understands the DTD. So for example, it would
*know* that only the elements <attack> <defence> and <move> were valid
inside <unit>, or whatever we decided. Key shortcuts can easily create
whole new units, move in and out of nested structures, etc.
> About that easy verifiability, it's C-like, not C syntax. You won't
> be able to verify it by C compiler probably, but it's really easy to
> make dummy wrapper to your parser to verify the corectness of
> syntax.
But XML would not only validate the syntax (well-formedness) but also
the structure (only foo, bar, and baz are valid inside unit, etc.)
Jules
PS Your lines are too long ;-) Wrap at 72...
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), (continued)
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Petr Baudis, 2001/12/05
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Andrew Sutton, 2001/12/05
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Jules Bean, 2001/12/05
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Reinier Post, 2001/12/05
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Gregor Zeitlinger, 2001/12/05
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Jules Bean, 2001/12/06
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Gregor Zeitlinger, 2001/12/06
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Petr Baudis, 2001/12/06
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry),
Jules Bean <=
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Petr Baudis, 2001/12/06
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Reinier Post, 2001/12/08
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Reinier Post, 2001/12/08
- [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry), Reinier Post, 2001/12/08
- [Freeciv-Dev] XML, Per I. Mathisen, 2001/12/06
- [Freeciv-Dev] Re: XML, Raimar Falke, 2001/12/07
- [Freeciv-Dev] Re: XML, Daniel Sjölie, 2001/12/07
- [Freeciv-Dev] Re: XML, Petr Baudis, 2001/12/07
- [Freeciv-Dev] Re: XML, Andrew Sutton, 2001/12/07
- [Freeciv-Dev] Re: XML, Vasco Alexandre Da Silva Costa, 2001/12/07
|
|