sivarajankumar / screen3d

Automatically exported from code.google.com/p/screen3d
0 stars 0 forks source link

[Tools/Bgs] first try #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
BGS (you must say Beegees) or Binding Generator for Screen, is a tool that
creates automatically bindings from C++ sources to other langages (Lua,
Java, Javascript)

Data flow :

C++ source --> an interface description model (IDM) --> Binding code

The creation of the tool must be done in 3 steps :

1. Specification of the IDM, that describes classes, methodes, public
attributes, functions, namespaces, template parameters, ...

2. implement C++ source to IDM process

3. implement several bindings (in priority for LuaBind)

Original issue reported on code.google.com by thoratou@gmail.com on 23 May 2010 at 8:09

GoogleCodeExporter commented 8 years ago

Original comment by thoratou@gmail.com on 23 May 2010 at 8:10

GoogleCodeExporter commented 8 years ago
some sites for binding :
- an C++ to AST tool :
http://42ndart.org/scalpel/
- an binding generator :
http://www.swig.org/tutorial.html

Original comment by thoratou@gmail.com on 2 Jun 2010 at 2:23

GoogleCodeExporter commented 8 years ago
another approach to GS could be the common binding framework for declaring 
classes, methods, etc... to generate binding code
http://dev.tegesoft.com/projects/camp/apidoc/index.html

Original comment by thoratou@gmail.com on 17 Jun 2010 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by thoratou@gmail.com on 27 Aug 2010 at 1:01

GoogleCodeExporter commented 8 years ago
Up to you to do the study.

Last SWIG version seems to answer our needs (mainly with Java and Lua binding), 
and it's possible to develop our own bindings. 

http://www.swig.org

Original comment by thoratou@gmail.com on 14 Sep 2010 at 9:41

GoogleCodeExporter commented 8 years ago
I'll study this tools.  

Original comment by tt.tranq...@gmail.com on 15 Sep 2010 at 2:32

GoogleCodeExporter commented 8 years ago

Original comment by thoratou@gmail.com on 1 Oct 2010 at 2:54

GoogleCodeExporter commented 8 years ago
Should be implemented as an SBS plugin, msut be specified and resized before 
implementation

Original comment by thoratou@gmail.com on 23 Sep 2011 at 11:23