History log of /haiku/build/jam/MathRules
Revision Date Author Comments
# dd8d24ee 25-Feb-2023 PulkoMandy <pulkomandy@pulkomandy.tk>

build: remove most of MathRules.

We shouldn't be doing these crazy things.

The only usage of this is the NextID rule which computes an unique
number by incrementing a variable. This is used for example to generate
names for the extra files used in xattr emulation.

But we certainly don't need multiplication, division, etc. That's better
done in scripts (Python, for example) in rule actions. So keep just
enough of this for NextID to work, and we could probably make it even
simpler.

Change-Id: Id06d4f5e236205203fe8d604de440753b63801bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6088
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 938bf9fa 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Add more missing 'local's to variable declarations.


# 25b12e83 05-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added rules for performing basic integer arithmetics (+, -, *). The rules
operate manually on digit lists, so they are certainly not fast and shouldn't
be used excessively, but at least it's possible to do calculations in Jam now,
should the need arise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 938bf9fad2fa70a2fd7dba661464068133bf9b73 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Add more missing 'local's to variable declarations.


# 25b12e83ae224fce14b71190672c1e6cac837f5d 05-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added rules for performing basic integer arithmetics (+, -, *). The rules
operate manually on digit lists, so they are certainly not fast and shouldn't
be used excessively, but at least it's possible to do calculations in Jam now,
should the need arise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20596 a95241bf-73f2-0310-859d-f6bbb57e9c96