Reputation: 20410
I'm intrigued by using Clang as embedded C++ interpreter. Is it possible to interpret "hello world" with it? The aim is to pass source filepath or source code as a string and get input/output streams with no executables invocations (it seems clang's Driver
executes clang
and/or linker executable).
Upvotes: 0
Views: 917
Reputation: 9324
You may want to consider cling (http://root.cern.ch/drupal/content/cling) which is C++ interpreter built in top of clang libraries.
Upvotes: 1