Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-10-14 04:01:46


Hi all,

based on Rene's comments, here's an implementation of CALC.

Comments are welcome.

Pedro

> * Instead of having possibly many math operation builtins it would be
better
> to have a single builting to do simple math:
>
> rule CALC ( expression + )...
>
> For now just supporting a "+" would be fine, example:
>
> local v = [ CALC 1 + 2 ] ;
>
> * Stick to using standard C functions, i.e. don't use _itoa as it won't be
> generaly available. Replacing it with a sprintf would be best .

 ------=_NextPart_000_004B_01C3923A.2D588400 Content-Type: application/octet-stream;
name="builtins.h.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="builtins.h.diff"

[Attachment content not displayed.] ------=_NextPart_000_004B_01C3923A.2D588400 Content-Type: application/octet-stream;
name="numbers.jam.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="numbers.jam.diff"

[Attachment content not displayed.] ------=_NextPart_000_004B_01C3923A.2D588400 Content-Type: application/octet-stream;
name="builtins.c.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="builtins.c.diff"

[Attachment content not displayed.] ------=_NextPart_000_004B_01C3923A.2D588400--


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