Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-05-11 13:51:59


On 2002-05-11 at 01:41 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:
>----- Original Message -----
>From: "Vladimir Prus" <ghost_at_[hidden]>
>> > 1. the trick with "@" is possibly too tricky. It took me a long
>> > time to grok, and at least needs more explanation.
>>
>> The actual problem is that we seem to need a list where each element can
>be
>> list itself. How do we implement that?
>
>It ain't easy; most approaches are hacks. Your trick might be as good as it
>gets. You could write a "Jam expression parser" and build lists as space
>separated elements. Of course you'd need to quote any embedded spaces.

A somewhat less kuldge way of doing this is what Perl does. Store a list of
references(autogenerated) to other variables, which then store the values.
We should be able to store arbitrary structures this way.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk