Permalink
Browse files

Added YAJL/JSON integration.

  • Loading branch information...
1 parent d54ddd1 commit 5aa5d0ecf2041a800271b7b34f07f852bc6580b2 @toddsundsted committed Jun 13, 2011
Showing with 645 additions and 13 deletions.
  1. +12 −12 Makefile.in
  2. +1 −0 bf_register.h
  3. +2 −1 functions.c
  4. +602 −0 json.c
  5. +28 −0 json.h
View
@@ -32,8 +32,8 @@ COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c
CSRCS = ast.c code_gen.c db_file.c db_io.c db_objects.c \
db_properties.c db_verbs.c decompile.c disassemble.c \
eval_env.c eval_vm.c exceptions.c execute.c extensions.c \
- functions.c keywords.c list.c log.c malloc.c map.c match.c \
- md5.c name_lookup.c network.c net_mplex.c net_proto.c \
+ functions.c json.c keywords.c list.c log.c malloc.c map.c \
+ match.c md5.c name_lookup.c network.c net_mplex.c net_proto.c \
numbers.c objects.c parse_cmd.c pattern.c program.c \
property.c quota.c ref_count.c regexpr.c server.c storage.c \
streams.c str_intern.c sym_table.c tasks.c timers.c unparse.c \
@@ -54,16 +54,16 @@ YSRCS = parser.y
HDRS = ast.h bf_register.h code_gen.h db.h db_io.h db_private.h \
decompile.h db_tune.h disassemble.h eval_env.h eval_vm.h \
- exceptions.h execute.h functions.h getpagesize.h keywords.h \
- list.h log.h map.h match.h md5.h name_lookup.h network.h \
- net_mplex.h net_multi.h net_proto.h numbers.h opcode.h \
- options.h parse_cmd.h parser.h pattern.h program.h quota.h \
- random.h ref_count.h regexpr.h server.h storage.h streams.h \
- structures.h str_intern.h sym_table.h tasks.h timers.h \
- tokens.h unparse.h utils.h verbs.h version.h yajl_alloc.h \
- yajl_buf.h yajl_bytestack.h yajl_common.h yajl_encode.h \
- yajl_gen.h yajl_lex.h yajl_parse.h yajl_parser.h \
- yajl_version.h
+ exceptions.h execute.h functions.h getpagesize.h json.h \
+ keywords.h list.h log.h map.h match.h md5.h name_lookup.h \
+ network.h net_mplex.h net_multi.h net_proto.h numbers.h \
+ opcode.h options.h parse_cmd.h parser.h pattern.h program.h \
+ quota.h random.h ref_count.h regexpr.h server.h storage.h \
+ streams.h structures.h str_intern.h sym_table.h tasks.h \
+ timers.h tokens.h unparse.h utils.h verbs.h version.h \
+ yajl_alloc.h yajl_buf.h yajl_bytestack.h yajl_common.h \
+ yajl_encode.h yajl_gen.h yajl_lex.h yajl_parse.h \
+ yajl_parser.h yajl_version.h
SYSHDRS = my-ctype.h my-fcntl.h my-in.h my-inet.h my-ioctl.h my-math.h \
my-poll.h my-signal.h my-socket.h my-stat.h my-stdarg.h my-stdio.h \
View
@@ -28,6 +28,7 @@ extern void register_property(void);
extern void register_server(void);
extern void register_tasks(void);
extern void register_verbs(void);
+extern void register_yajl(void);
/*
* $Log: bf_register.h,v $
View
@@ -56,7 +56,8 @@ static registry bi_function_registries[] =
register_property,
register_server,
register_tasks,
- register_verbs
+ register_verbs,
+ register_yajl
};
void
Oops, something went wrong.

0 comments on commit 5aa5d0e

Please sign in to comment.