Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-14 | Add `module` directive, `modulemeta` builtin | Nicolas Williams | |
Fix #425. | |||
2014-07-22 | Added library system with -l, -L, and JQ_LIBRARY_PATH | William Langford | |
Created util.[ch] to hold common utilities. | |||
2014-07-06 | Add `foreach` and `limit` | Nicolas Williams | |
2014-07-06 | Add `try EXP catch EXP` | Nicolas Williams | |
2014-02-20 | Add `?`, `.[]?`, and `..` operators | Nicolas Williams | |
Make XPath-like `//a/b` recursive structure traversal easier in jq, which then becomes: ..|.a?.b? The `?` operator suppresses errors about . not being an array or object. The `..` operator is equivalent to calling the new `recurse_down` built-in, which in turn is equivalent to recurse(.[]?) Note that `..a` is not supported; neither is `...a`. That could be add added, but it doesn't seem worth the trouble of saving the need to type a '|'. | |||
2013-09-14 | Merge branch 'libjq' | Stephen Dolan | |
Conflicts: Makefile.am configure.ac | |||
2013-06-23 | Remove #includes from jv.hlibjq | Stephen Dolan | |
2013-06-21 | Add mod (and setmod) operators | Nicolas Williams | |
2013-06-05 | Lex and parse .foo better. | Stephen Dolan | |
'.as' is now valid, '. foo' is now invalid. See #141. | |||
2013-05-16 | Remove the insane "fold" operation, replace with saner "reduce". | Stephen Dolan | |
2013-05-15 | 'length' function now measures string length in codepoints, not bytes. | Stephen Dolan | |
2013-02-02 | merging upstream stedolan changes | Lee Thompson | |
2013-01-03 | Fix negative number syntax. Add a unary '-' operator. | Stephen Dolan | |
Closes #63. | |||
2012-12-28 | Fold operation (code/docs/test) | Stephen Dolan | |
2012-12-28 | @foo syntax for encoding of strings into various formats. | Stephen Dolan | |
Fixes part of #47 and #48. | |||
2012-12-18 | Add wrappers for malloc/realloc/free. See #43. | Stephen Dolan | |
2012-12-02 | Demote "contains" to a built-in function rather than an operator. | Stephen Dolan | |
2012-11-28 | revert back to make invoking flex, fix a few bugs | Lee Thompson | |
2012-11-26 | Merge remote-tracking branch 'origin/master' | Stephen Dolan | |
2012-11-26 | Raise a proper error from the lexer on unmatched },),] | Stephen Dolan | |
2012-10-24 | Implemented contains operator | Stephen Roantree | |
2012-10-24 | Replace yyscan_t with another pointer type that we control. | Damian Gryski | |
This prevents the circuluar dependency between parser.gen.h and lexer.gen.h. Newer versions of bison add a prototype for yyparse() to parser.gen.h that include the as-yet-undeclared yyscan_t type. | |||
2012-10-23 | Implement 'not equal' (!=) as a binop | Damian Gryski | |
2012-10-22 | Support a -f option to load from a file, and # comments | Stephen Dolan | |
This means '#!/usr/local/bin/jq -f' is now a sensible way to start a file. Closes #13 | |||
2012-10-20 | A string interpolation syntax that I don't hate. Also tests. | Stephen Dolan | |
You can interpolate values into strings using \(this syntax), e.g. "best \("str" + "ing") ever" | |||
2012-10-07 | Add <,>,<=,>= binops | Stephen Roantree | |
2012-09-22 | Allow underscores in IDENT tokens. Fixes #3. | Stephen Dolan | |
IDENT syntax now includes ASCII letters and underscores, so '.foo_bar' now works. Non-ASCII letters won't work in IDENT tokens (it's impossible to tell which non-ascii characters are "letters" without full unicode tables), so '.données' is still a syntax error (the workaround is '.["données"]', since you can put anything you like in a string). | |||
2012-09-18 | Move everything around - delete old Haskell code, clean up build. | Stephen Dolan | |