2010/12/31 Bryce Lelbach <admin@thefireflyproject.us>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Native UTF8 support would be a great improvement though.

https://github.com/brycelelbach/prana/tree/master/boost/spirit/home/prana/input

https://github.com/brycelelbach/prana/tree/master/boost/spirit/home/prana/output

Includes native UTF8 support. Tests are also available in that repository. I have
a compiler that compiles the JSON objects in the utree AST into TST lookups. The
utree AST can be treated as a boost optional, a boost variant, a boost any,
a std::string, an integer, a double, an std::list (with random access, slow,
though) and other things. The interface is documented in Spirit from the top of
trunk.

Thank you Bryce, I am sure this will really help. Hoewever, it seems that prana (focusing on the JSON parser) uses additional spirit headers that I cannot find (boost/spirit/include/support_utree.hpp, boost/spirit/include/support_line_pos_iterator.hpp, ...). Could you please help?

Regards,

Olivier
 

I will commit the AST json object -> ternary search tree compiler sometime today.

P.S. Tests are here:

https://github.com/brycelelbach/prana/tree/master/libs/spirit/test/prana

- --
Bryce Lelbach aka wash
boost-spirit.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk0eCrsACgkQO/fqqIuE2t7SygCg3MmHVl0WI4HrpO/wSZugNJOH
m/MAoMnlqfgxGSqGvOABLX3tRNUm3Jgq
=pgpd
-----END PGP SIGNATURE-----
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users