A naive C++ HTTP parser implementation using Bison and Flex
ATTENTION: this is NOT a full spec conformant parser. It DOES NOT aim to comply with all of the requirements associated with the roles it partakes in the HTTP specification.
Make sure that you have all the dependencies installed:
Then, simply:
$ mkdir build
$ cd build
$ cmake ..
$ make && make test
*: If you've built bison
from source and in the make
step it claims that there's a problem with m4
, try setting the pkgdata_dir
:
export BISON_PKGDATADIR=/usr/local/share/bison/data
yahtml-parser_INCLUDES : include directories
yahtml-parser_LIBS : libs to link against
If you wish to get in touch with the spec, take a look at
(see RFC2616 is Dead)
GPLv2