On Fri, Jan 10, 2014 at 6:12 PM, Florian Pritz <bluew...@xinu.at> wrote: > > Isn't this (fast scripting with lots of features) when people normally > start using lua? >
This would have the same challenges as using .so files, w.r.t. hooking write() (or the html functions), but would be very interesting indeed, because Lua... Any implementation of this would probably have to work in the same way I was thinking for the .so file. Namely, the lua script implements event handlers for: - filter_open(int stdout_fd, char *argv[]) - filter_write(char *data, size_t len) - filter_close() This seems doable. I don't know how I feel about the added size of doing this yet, but it is enticing enough to entertain and see how the idea develops. _______________________________________________ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit