[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser

Jean Vittor jean.vittor at free.fr
Thu Mar 13 17:58:23 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What I'm proposing to do is to write the C++ parser using boost::spirit.
I don't to write it from scratch. So I'm changing the existing parser to
make it use (progressively) boost::spirit.
One of the goals is to split this C++-grammar (which could be used in
other tools => maintained by more people) and the actions (specific to
umbrello).

This (quite large) patch is expected to give the same results than
before). In fact, it contains quite few (code) changes : just attributes
and method signatures changes. And some unused code has been removed.

Jean


Jonathan Riddell a écrit :
> SVN commit 785296 by jriddell:
> 
> First step towards a C++ parser based on boost::spirit : use of STL iterators to scan / parse.  From Jean Vittor  <jean.vittor free.fr>
> 
> 
>  M  +5 -28     ast.cpp  
>  M  +56 -68    ast.h  
>  M  +5 -10     ast_utils.cpp  
>  M  +1 -2      driver.cpp  
>  M  +15 -13    driver.h  
>  M  +222 -250  lexer.cpp  
>  M  +247 -508  lexer.h  
>  M  +943 -897  parser.cpp  
>  M  +26 -1     parser.h  
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFH2Ws/Q0w7PvnJLt4RAmL/AJ9wry17pzVqm0WuOnCnKZsUxXTFhACfYWKF
+zAEVCP05Y0wgtYc9wRWWu8=
=u2j+
-----END PGP SIGNATURE-----




More information about the umbrello-devel mailing list