[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Dependency tree resolver in Lua?
- From: David Given <dg@...>
- Date: Mon, 07 Feb 2011 17:04:49 +0000
On 07/02/11 14:01, Alexander Gladysh wrote:
>> Oddly enough, I just wrote one --- I don't know whether it's *right*,
>> but it appears to do the job I need.
> Care to share?
Well, it's work code, so I probably can't, but the whole thing is so
utterly trivial that there's no need. The core of the thing is about 20
lines (including whitespace, print and end statements).
The link Luiz posted contains pseudocode for an implementation that
works almost identically to mine (which I find rather reassuring).
┌─── ｄｇ＠ｃｏｗｌａｒｋ．ｃｏｍ ───── http://www.cowlark.com ─────
│ "Thou who might be our Father, who perhaps may be in Heaven, hallowed
│ be Thy Name, if Name Thou hast and any desire to see it hallowed..."
│ --- _Creatures of Light and Darkness_, Roger Zelazny
Description: OpenPGP digital signature