[cfe-dev] [ANN] ccons : an interactive console for C based on clang and LLVM
Alexei Svitkine
alexei.svitkine at gmail.com
Thu Apr 30 15:03:31 PDT 2009
Hello All,
This semester, as part of a personal Computer Science project course in
my undergraduate studies, I decided to see if I could make an interactive
console for the C programming language (like "irb" for Ruby) based on clang
and LLVM. This would answer the questions: a) is such a thing possible and
b) are the clang and LLVM libraries well suited for this.
The answer to a) is yes, it is possible. I was able to use the libraries and
create something that works pretty well (excluding some obscure things which
are not yet supported).
The answer to b), from my experiences, is that more work is needed on the
clang and LLVM APIs to expose more functionality for diverse clients, such
as this project. I will not go into details here, but will probably
follow-up on this another time.
The resulting project is Open Source (MIT Licensed) and is available on
Google Code:
http://code.google.com/p/ccons
You can check out the code and refer to the README.txt on how to build and
run the code. It currently supports Mac OS X and Linux.
To see some of the features that ccons supports, you can take a look at my
presentation about it:
http://fizzysoft.net/personal/ccons.pdf
Cheers,
-Alexei Svitkine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090430/e3aa55ee/attachment.html>
More information about the cfe-dev
mailing list