0adf4638d1
Update generated lexer.gen.* and parser.gen.* files
2012-10-24 09:31:21 +02:00
e40778727b
Replace yyscan_t with another pointer type that we control.
...
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-24 09:28:27 +02:00
45b6fc8148
Add some in/equality test cases
2012-10-23 21:12:47 +02:00
409456f581
Regenerate lex/yacc files
2012-10-23 17:02:19 +02:00
553de39b2a
Implement 'not equal' (!=) as a binop
2012-10-23 17:01:39 +02:00
b193bca563
yyscan_t isn't exposed by some versions of flex.
2012-10-23 17:00:42 +02:00
2a610da2d1
Allow the 'keys' function to take arrays.
2012-10-22 23:31:07 +01:00
93f80b2726
I should probably document select and empty :) ( #29 , #5 )
2012-10-22 23:14:34 +01:00
794d29a430
Docs fixes.
...
- Mention homebrew on download page (#25 )
- Document 'keys' and string interpolation
2012-10-22 22:56:56 +01:00
3c8f5ea251
Merge pull request #14 from merriam/patch-2
...
Update docs/content/1.tutorial/default.yml
2012-10-22 14:31:04 -07:00
c0f1c7dc1a
Delete a badly-thought-out bit of a Makefile.
2012-10-22 19:23:57 +01:00
a737a67eda
updated autogenerated files
2012-10-22 19:18:35 +01:00
48fb7c61b3
Support a -f option to load from a file, and # comments
...
This means '#!/usr/local/bin/jq -f' is now a sensible way
to start a file.
Closes #13
2012-10-22 19:18:30 +01:00
f2601ab4f0
Fix logic for "slurp" option. Fixes #18
2012-10-22 18:55:56 +01:00
2620e21dcc
Make the gen_utf8_tables script Python3 compatible ( #20 )
2012-10-22 18:47:52 +01:00
ce3328f11e
Update docs/content/1.tutorial/default.yml
2012-10-22 02:43:53 -07:00
c53e001973
Version number tracking.
jq-1.0
jq-1.1
2012-10-21 23:26:31 +01:00
976e4ff711
Fix a mistake in the docs. Fixes #10
2012-10-21 22:16:23 +01:00
6e64cdcbfc
Merge pull request #8 from maxme/master
...
add install and uninstall rules in Makefile
2012-10-21 12:23:22 -07:00
73e479e171
Update website: binaries + version bump.
2012-10-21 20:16:26 +01:00
758da604cd
add install and uninstall rules in Makefile
2012-10-21 20:55:50 +02:00
95a0074edf
Check in a bunch of autogenerated files.
...
These seem not to build with the version of bison, etc. on OS X.
This is a hack for now, I'll fix the OS X build when I get access
to a mac.
2012-10-21 19:52:16 +01:00
32e1b114df
Add a 'keys' function. Fixes #4 .
2012-10-20 00:26:37 +01:00
afec2544f1
A string interpolation syntax that I don't hate. Also tests.
...
You can interpolate values into strings using \(this syntax), e.g.
"best \("str" + "ing") ever"
2012-10-20 00:09:20 +01:00
6828ec9852
Merge pull request #6 from stroan/numeric-comparison-binops
...
Add <,>,<=,>= binops
2012-10-11 07:47:42 -07:00
b3557429eb
Make comp binops nonassoc
2012-10-10 23:00:24 +01:00
0618e61e0b
Add <,>,<=,>= binops
2012-10-07 22:34:12 +01:00
a2643cc0d5
Allow underscores in IDENT tokens. Fixes #3 .
...
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-22 14:03:46 +01:00
359d5f33bd
Add a bunch of commandline options for controlling I/O format.
...
Also docs for the above. Closes #1 .
2012-09-20 19:31:14 +01:00
fcd7cf4ddd
More broken links :(
2012-09-19 10:54:58 +01:00
1f4a5d8d9f
Make URLs relative to not break on github-pages
2012-09-19 10:48:23 +01:00
92ab193369
Make the <title>s of the doc pages less messy.
2012-09-19 01:15:49 +01:00
fc57cf702c
No HTTPS for me, sadly.
2012-09-19 01:12:33 +01:00
f51eca20f5
Fix some issues with relative URLs on Github Pages.
2012-09-19 01:10:47 +01:00
9887cb57b2
Add a rake task to compile docs into static html.
2012-09-19 01:03:05 +01:00
040604b7db
Use a theme from Bootswatch for docs.
2012-09-19 01:00:25 +01:00
26c7132237
Ensure 'make tarball' creates the required directories.
2012-09-19 00:36:37 +01:00
483f6f2134
Add some release stuff to Makefile.
2012-09-19 00:34:49 +01:00
c463877e17
Add binaries and update download docs.
2012-09-19 00:08:02 +01:00
71ab537ee9
Initialise some variables to keep gcc happy.
2012-09-18 23:46:23 +01:00
134b062be7
Fix a parsing bug for \uXXXX escapes (some invalid escapes were accepted).
...
Found by gcc -O -Wall identifying a use of uninitialised variables.
2012-09-18 23:45:30 +01:00
3898f744dc
Add a README
2012-09-18 23:40:19 +01:00
305059ff9f
Usage messages if jq is run with no arguments.
...
Beats segfaulting.
2012-09-18 23:37:46 +01:00
5863160112
Implement the 'add' builtin promised by the docs' examples.
2012-09-18 23:32:24 +01:00
fbf7bc835b
More docs + docs cleanup
2012-09-18 23:17:27 +01:00
04e85e11de
Print Unicode characters unescaped by default.
2012-09-18 22:47:19 +01:00
20e45f363c
Separate the tests and the main program.
2012-09-18 22:17:13 +01:00
46af5238ce
Add a COPYING file with too many words in it.
2012-09-18 17:59:09 +01:00
cf134909fd
Documentation. Copious.
2012-09-18 17:51:53 +01:00
a4eea165bb
Move everything around - delete old Haskell code, clean up build.
2012-09-18 17:44:43 +01:00