3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00
Go to file
Olivier Parcollet ab3b9b3d4d Draft libclang based python wrapper desc generator
- 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.
2014-07-08 23:37:59 +02:00
cmake Draft libclang based python wrapper desc generator 2014-07-08 23:37:59 +02:00
doc updated installation instructions for Mac OS X 2014-07-08 15:30:31 +02:00
foreignlibs doc : split c++ code from rst 2014-05-31 23:00:16 +02:00
packaging/os_x install : update boost.rb 2013-12-21 13:25:37 +01:00
pytriqs Draft libclang based python wrapper desc generator 2014-07-08 23:37:59 +02:00
shells Better name for run_pytriqs_for_test 2013-08-02 10:15:05 +02:00
test Update tests related to Fourier transforms 2014-07-02 22:56:06 +02:00
triqs Fix #100. 2014-07-03 19:50:16 +02:00
.clang-format mc_tools: simplify measure_aux 2014-01-30 20:28:30 +01:00
ChangeLog Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
CITATIONS.bib First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt Draft libclang based python wrapper desc generator 2014-07-08 23:37:59 +02:00
COPYING.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
LICENSE.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
README.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00

 
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