Y
Hacker News
new
|
ask
|
show
|
jobs
by
thrownunder
3866 days ago
Is there some sample code for the C++ interface? It is a good idea but I am curious how much headers and templates complicate things.
1 comments
drmeister
3866 days ago
There are several. In Clasp there is
https://github.com/drmeister/clasp/blob/master/src/asttoolin...
- that exposes the entire Clang AST class hierarchy. Then there is
https://github.com/drmeister/demo-clasp-cxx
- it exposes a small "Hello World" example. Then there is the SFML library that is being exposed by flash- one of the regulars in the #clasp IRC channel:
https://github.com/clasp-developers/clasp-sfml
link