Hello,
I have been able to compile cling using VS2013 with only a small number of modifications.
It seems to work quite well. But I have not tested more then simple C functions.
apparently somewhere windows defines a macro called IN. That is why one needs to to apply this little change to /lib/Interpreter/IncrementalParser.cpp :
532,533c532,533
< for (NamespaceDecl::decl_iterator _IN = ND->decls_begin(),
< EN = ND->decls_end(); _IN != EN; ++_IN) {
---
> for (NamespaceDecl::decl_iterator IN = ND->decls_begin(),
> EN = ND->decls_end(); IN != EN; ++IN) {
536,537c536,537
< if (!shouldIgnore(*_IN))
< getCodeGenerator()->HandleTopLevelDecl(DeclGroupRef(*_IN));
---
> if (!shouldIgnore(*IN))
>
in include/Interpreter/RuntimeUniverse.h you need to remove the #ifdef _WIN32 block
and most things will start to work.