mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
ab3b9b3d4d
- Given a C++ file, e.g. a class, it calls libclang to parse the C++, and retrieve from its AST the necessary info to write a xxx_desc.py file. - THIS IS WORK IN PROGRESS. There are several corner cases for which we may want (or not) the script to do better. - It is not designed to be used automatically, but to to 90 % of the boring typesetting work... - The preamble still needs manual choices - The properties, methods, functions are automatically declared in the _desc file, in the simplest possible way. - An option --properties, -p : to transform some simple methods or get_x, set_x into python properties, not methods. Cf doc. - requires clang (tested on 3.4). - the script is configured by cmake and installed in INSTALLATION_DIRECTORY/bin, with some other files. It can only be used for applications, after the lib has been installed. It is cmake configured, to include automatically the various include paths configure in the triqs installation, including the triqs install dir in order to simplify invocation. - TODO : improve, and test more in real cases. |
||
---|---|---|
cmake | ||
doc | ||
foreignlibs | ||
packaging/os_x | ||
pytriqs | ||
shells | ||
test | ||
triqs | ||
.clang-format | ||
ChangeLog | ||
CITATIONS.bib | ||
CMakeLists.txt | ||
COPYING.txt | ||
LICENSE.txt | ||
README.txt |
The TRIQS website is under http://ipht.cea.fr/triqs. Start there to learn about TRIQS. To install TRIQS, follow the installation steps given under http://ipht.cea.fr/triqs/doc/user_manual/install/install.html Before you proceed, make sure you have read the LICENSE.txt file. Enjoy! The TRIQS team