./math/nickle, Desk calculator language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.81, Package name: nickle-2.81, Maintainer: pkgsrc-users

Nickle is a desk calculator language with powerful programming and
scripting capabilities. Nickle supports a variety of datatypes, espe-
cially arbitrary precision integers, rationals, and imprecise reals.
The input language vaguely resembles C. Some things in C which do not
translate easily are different, some design choices have been made dif-
ferently, and a very few features are simply missing.

Required to build:

Master sites:

SHA1: ef9c6de7ad2a544a3245657fbfd46dbfa9675476
RMD160: 03c8ffbebfd0104b3cd54f748f702de7e6f999f5
Filesize: 565.566 KB

Version history: (Expand)

CVS history: (Expand)

   2018-01-03 13:12:07 by Jonathan Perkin | Files touched by this commit (2)
Log message:
nickle: Fix build on SunOS and systems without timelocal().
   2017-11-23 17:15:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
nickle: update to 2.81.

    Update to version 2.81

    test: Can't test for Y2038 fix because 32 bit machines

    glibc on all 32-bit machines fails the Y2038 test. Change that to use
    the maximum possible 32-bit value instead (sigh)

    Remove unused variable in builtin-date.c

    Add date conversion functions localtime, gmtime, timelocal, timegm

    These just wrap the C versions, except they report actual years,
    rather than years since 1900 and January is month 1, not 0.

    Add JSON tests

    Add floats to JSON module.

    Support floating point values in JSON input and output.

    Make nickle-tutorial.pdf build reproducibly

    Set TeX dates to RELEASE_DATE.
    Remove PDF /ID entry.
   2017-04-23 16:49:27 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Fix build problem on NetBSD 6.1_STABLE.

* Guard use of rl_catch_signals variable with "#if HAVE_RL_CATCH_SIGNALS".

Add comment in patch/patch-aa quote from last commit message.
   2017-03-20 14:13:51 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated nickle to 2.79.

    Ensure data cache value array is aligned adequately

    Data caches are used to store pointers and other potentially long
    values. Make sure that the position of the values portion of the cache
    is aligned to a suitable address. Fixes a bus error on sparc64 machines.

    Building nickle on arm64 now, change package names
    built .deb and .rpm files are now amd64 instead of i386

    Update to version 2.78

    Also depend on bison and flex

    newer version of flex doesn't have yyunput

    This line was just removing a warning about yyunput unused; newer
    versions of flex don't even have that symbol anymore. Better to have a
    warning than fail to compile.

    Adapt tests to new automake requirements

    Automake now has a separate variable for the program to run the test
    scripts with, and breaks if you try to embed that in the
    TESTS_ENVIRONMENT variable, which used to be how this was done.

    Use 'G' format for elements when printing arrays in 'g' format

    This restricts array printing to just recurse one level.

    When using pointer as hash, first cast to intptr_t

    This avoids a compiler warning when pointers are not the same size as

    Initialize 'replace' in NewTypedBox

    When left uninitialized, undefined results will occur. This caused a
    test failure on MIPS when being built with PIE support.

    Debian bug 857840.

    Reported-by: James Cowgill <jcowgill@debian.org>

    Open quote character is a single char, not a string

    When checking to see if a string needs to be dequoted, check the first
    character of the string against the quote character, rather than
    checking the whole string.

    Probably using strings for the quote markers wasn't the best API
    choice as this would have been caught by typechecking had the quote
    characters been an int instead.

    Define release date in configure.ac and use that instead of build date

    This avoids encoding the current date into the resulting output so
    that it can be reproduced.

    Add JSON input/output code

    Reverse data written in linked FileChains

    FileChains are linked in newest-in order, so they need to be written

    Add is_hash primitive

    Checks whether a value is a hash

    Abort karatsuba multiply in more places

    removed gratuitous -O2 from Makefile.am to let CFLAGS handle it

    Added a lightly-optimized choose(n, k) function to math.5c.

    The lack of a choose operator has continually bugged me;
    I've constantly rewritten it "the bad way". This is a
    lightly optimized version of that function that seems to
    handle most edge cases reasonably. It has only been tested a
    little bit.

    added check mode to sudoku solver

    cleaned up a bunch of sudoku solver stuff

    added edge cache to sudoku example

    tutorial: Close a couple of SGML tags

    nsgmls found a couple of unclosed tags which may make some versions
    of docbook tools unhappy.

    Fix release docs to use git log instead of git-log

    git-log disappeared a long time ago

    actually added Sudoku example

    added Sudoku generator example

    added sudoku example
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-08-12 04:17:43 by OBATA Akio | Files touched by this commit (1)
Log message:
suppress detection of DOCBOOK, PR pkg/48115
   2013-07-15 04:02:29 by Ryo ONODERA | Files touched by this commit (177)
Log message:
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
   2013-05-30 18:58:01 by Thomas Klausner | Files touched by this commit (1)
Log message:
DragonFly needs GNU readline here as well. PR pkg/47870 by David Shao.