Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-28 00:13:55

The bugs are now fixed. Please enjoy the new semantics ;-)

To recap, every module has its own dynamic scoping stack. Whenever you
enter a module via module { ... } or via calling a rule in that module,
your variable bindings "start over" as though execution had never left
the module. You can use the rules modules.peek and modules.poke to
access bindings in other modules, and you can use should
you ever need to call a rule by name in the context of another module


P.S. We should try to map out a timeline for upcoming work. Steve K.,
I'd appreciate any input you have about how to manage progress on the

----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Wednesday, March 27, 2002 5:22 PM
Subject: New module scoping rules

> OK, I've checked in the changes which implement the new rules.
> Unfortunately, the subtle changes in variable scoping change the
> of some of the trickier constructs. The tests in tools/build/new are
> currently failing; I would appreciate any help in clearing the
> up.
> Thanks,
> Dave
> +---------------------------------------------------------------+
> David Abrahams
> C++ Booster ( O__ ==
> Pythonista ( c/ /'_ ==
> resume: (*) \(*) ==
> email: david.abrahams_at_[hidden]
> +---------------------------------------------------------------+


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at