You might benefit from teaming up with the guy behind LLVM-F# (google it). He has already done a great job of converting the C API to F# and it is usable from C#.<div><br></div><div><a href="https://github.com/keithshep/llvm-fs/wiki/LLVM-F%23-Interface">https://github.com/keithshep/llvm-fs/wiki/LLVM-F%23-Interface</a> </div>
<div><br></div><div><br></div><div>Cheers,</div><div>Mikael<br><br><div class="gmail_quote">2012/6/15 MrUnleaded <span dir="ltr"><<a href="mailto:mrunleaded@gmail.com" target="_blank">mrunleaded@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, I have been working on a C# wrapper for Clang and it is coming along well so far but I have run into a problem with a particular kind of Cursor.<div>
<br></div><div>When I run into CXCursor_IntegerLiteral cursors I am not sure how I can obtain the literal that the cursor refers to using the API. I have looked through llvm a bit to try and find an answer but I have yet to find a solution.</div>
<div><br></div><div>Is there a simple way to grab the number or value from the Cursor using the C api?</div><div><br></div><div>I have a similar question in regards to the CXCursor_BinaryOperator kind. I am unsure as to how to determine what type of operator it is.</div>
<div><br></div><div>Any hints would be greatly appreciated.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><div><div><br></div>-- <br>Kevin<br>
</div></div>
</font></span><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>