|
Boost : |
Subject: [boost] [BB++] Now fixes all of your memory leak nightmares
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2017-07-22 04:15:07
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/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk