]> granicus.if.org Git - jq/log
jq
12 years agoFirst pass at a JSON parser
Stephen Dolan [Sat, 1 Sep 2012 18:16:43 +0000 (19:16 +0100)]
First pass at a JSON parser

12 years agoFix a memory leak when inserting into an object with an already-present key
Stephen Dolan [Sat, 1 Sep 2012 17:24:17 +0000 (18:24 +0100)]
Fix a memory leak when inserting into an object with an already-present key

12 years agoMinor changes to dtoa.c to make it easier to work with.
Stephen Dolan [Sat, 1 Sep 2012 16:56:34 +0000 (17:56 +0100)]
Minor changes to dtoa.c to make it easier to work with.

 - Change memory allocation to thread a context structure through
   the code rather than using globals (which would require a
   -lpthread and some locking to become threadsafe).

 - Remove a few configuration options (the "private memory" space,
   and K&R style headers).

 - Prefix exported symbols with jvp_ to prevent libc conflicts.

 - Add jvp_dtoa.h

 - Include netlib's g_fmt.c into dtoa.c

 - Add a few not-strictly-necessary initialisations in order to
   compile cleanly with gcc -Wall

12 years agoImport a copy of David Gay's dtoa.c
Stephen Dolan [Sat, 1 Sep 2012 15:50:25 +0000 (16:50 +0100)]
Import a copy of David Gay's dtoa.c

12 years agoFix a bug in lexical scoping, add tests
Stephen Dolan [Tue, 28 Aug 2012 17:38:30 +0000 (18:38 +0100)]
Fix a bug in lexical scoping, add tests

12 years agoReference-counted copy-on-write JSON library.
Stephen Dolan [Tue, 28 Aug 2012 17:09:43 +0000 (18:09 +0100)]
Reference-counted copy-on-write JSON library.

Comes with tests and, presumably, bugs.

12 years agoRemove syntax distinction between builtin and user calls
Stephen Dolan [Mon, 27 Aug 2012 10:19:42 +0000 (11:19 +0100)]
Remove syntax distinction between builtin and user calls

12 years agofirst pass at assignment
Stephen Dolan [Mon, 27 Aug 2012 09:11:55 +0000 (10:11 +0100)]
first pass at assignment

12 years ago2nd order functions
Stephen Dolan [Sun, 26 Aug 2012 13:25:56 +0000 (14:25 +0100)]
2nd order functions

12 years agoFix a revolting hack
Stephen Dolan [Wed, 22 Aug 2012 18:21:35 +0000 (19:21 +0100)]
Fix a revolting hack

12 years agobugfix for backtracking over RET insns, and a truly evil testcase
Stephen Dolan [Wed, 22 Aug 2012 18:05:53 +0000 (19:05 +0100)]
bugfix for backtracking over RET insns, and a truly evil testcase

12 years agoClosures over variables
Stephen Dolan [Tue, 21 Aug 2012 17:24:38 +0000 (18:24 +0100)]
Closures over variables

12 years agoFirst pass at functions + tests
Stephen Dolan [Tue, 21 Aug 2012 17:14:13 +0000 (18:14 +0100)]
First pass at functions + tests

12 years agoframe layout refactor
Stephen Dolan [Tue, 21 Aug 2012 11:35:36 +0000 (12:35 +0100)]
frame layout refactor

12 years agoStacks grow down now
Stephen [Mon, 20 Aug 2012 14:53:20 +0000 (15:53 +0100)]
Stacks grow down now

12 years agoan addition operator, of sorts
Stephen [Thu, 16 Aug 2012 00:16:08 +0000 (01:16 +0100)]
an addition operator, of sorts

12 years agoMost of a C implementation of jq
Stephen [Thu, 16 Aug 2012 00:00:30 +0000 (01:00 +0100)]
Most of a C implementation of jq

12 years agoinitial
Stephen Dolan [Wed, 18 Jul 2012 19:57:59 +0000 (20:57 +0100)]
initial