Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: Server/ruleset unification & grammars [Was [RFC PATCH]
Home

[Freeciv-Dev] Re: Server/ruleset unification & grammars [Was [RFC PATCH]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Server/ruleset unification & grammars [Was [RFC PATCH] init_techs]
From: Stepan Roh <stepan@xxxxxxxx>
Date: Mon, 24 Sep 2001 22:35:18 +0200 (CEST)


On Mon, 24 Sep 2001, Arien Malec wrote:

> The concept of a small/little language is, IMHO, exactly the right one. The
> choice of parsing infrastructure, however, depends on how complex the little
> language is. lex/yacc are great for a complex language with LALR grammars, but
> there is a certain overhead associated with them. If we confine ourselves to
> LL(1) grammars, we don't need that overhead.
>
> The sort of attribute setting stuff that the server and rulesets do is not
> terribly hard & doesn't *need* the full overhead of lex/yacc.

Sure, there is no need to use yacc, but lex could be useful. It can
produce powerful parsers.

Have a nice day.

Stepan Roh



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