pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/jq



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug 28 09:09:22 UTC 2015

Modified Files:
        pkgsrc/devel/jq: Makefile distinfo
Removed Files:
        pkgsrc/devel/jq/patches: patch-jq.1

Log Message:
Update to 1.5, and simplify a lot.

New features in 1.5 since 1.4:

 - regular expressions (with Oniguruma)

 - a library/module system

 - many new builtins

    - datetime builtins
    - math builtins
    - regexp-related builtins
    - stream-related builtins (e.g., all/1, any/1)
    - minimal I/O builtins (`inputs`, `debug`)

 - new syntactic features, including:

    - destructuring (`. as [$first, $second] | ...`)
    - try/catch, generalized `?` operator, and label/break
    - `foreach`
    - multiple definitions of a function with different numbers of
      arguments

 - command-line arguments

    - --join-lines / -j for raw output
    - --argjson and --slurpfile
    - --tab and --indent
    - --stream (streaming JSON parser)
    - --seq (RFC7464 JSON text sequence)
    - --run-tests improvements

 - optimizations:

    - tail-call optimization
    - reduce and foreach no longer leak a reference to .


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/jq/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/jq/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/jq/patches/patch-jq.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index