|
Boost-Build : |
Subject: Re: [Boost-build] Python port development
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2010-07-08 12:03:39
On 07/08/2010 12:58 PM, Robert Ramey wrote:
>
> I realize that this is off topic - but really curious as to why you've
> selected python rather than C++
> for this effort. Would you care to list you're reason(s)?
>
May be I'm misunderstanding what you have in mind, but to me the answer
seems obvious: Makefiles (or Jamfiles or SConstruct files, etc.) are
essentially scripts (with a domain-specific language) that are
interpreted. How would you do that with C++ ?
Or are you thinking of inventing a new such DSL and writing the parser
for it in C++ ? I believe one of the biggest advantages of moving to
Python is that it is a well known language, with well-define semantics.
Writing a DSL on top of that is much less work (and will be easier to
extend, as well as apprehend by users), than any custom language
(including the language currently used in bjam / boost.build).
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
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