Is your parser based on clang tools, or are you writing it from scratch?
On Sat, Jul 22, 2017 at 12:15 AM, Phil Bouchard via Boost
Greetings,
Now I have an example showing off the cyclic reference handling. Please see: https://github.com/philippeb8/root_ptr/blob/bb++/bbpp2cpp/tests/input2.bb
This program correctly outputs:
Document::Document(const boost::node_proxy&) auto __0(boost::node_proxy&, int) 1 Document::Document(const boost::node_proxy&) Document::~Document() 2 Document::~Document()
So I just came to realize we could use this tool to parse entire projects to generate the right C++ code, after having disabled the 'operator delete', and then run the executable, which still is 3.5x faster than Node.JS. For the newcomer please see: https://github.com/philippeb8/root_ptr/tree/bb++/bbpp2cpp
I am going to present this to NASA and company. Meanwhile anybody is welcome to help me out extending the parser to support template syntaxes.
Regards, -Phil http://bbplusplus.com/
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost