-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up the API and document everything #23
Comments
@ghorn, since you've been using the library recently, I'd love any feedback you have to offer about things that could be improved to make the library easier to use. Try out the The ClangApp monad has changed a bit. Note that your functions that previously had the type |
Hi Seth. I've been using |
The |
I am supposed to build llvm3.3 from their svn trunk, right? There is no release or tagged svn version for 3.3? |
I think there is a tagged version for 3.3, though don't quote me on that, but building it against trunk would be fine. (I actually use their git mirror.) If it's an inconvenience don't worry about it. I hope to get libclang embedded sometime next week so these sorts of considerations become a thing of the past. |
@chetant So in my review this is the primary release blocker, now that (hopefully) GHCi is working on both OS X and linux. (We also need to resolve whatever build issues you mentioned you were having on Ubuntu 13.04.) My plans here are basically these:
I think that should cover all my concerns, and from my perspective we'll be ready to make a release on Hackage once this is done. Does this sound good to you? Are there any other problems we need to tackle? |
That makes sense. Will tackle the build issues on Linux, then work with you
|
I'm glad I could help! |
I checked off the first point about Clang.Internal.Types, but though I experimented with that approach, I decided against it. It turned out to be much more painful than I expected - Greencard isn't really set up to make this sort of split nice. It may be worth revisiting in the future, but for now I just changed where the types were exported without actually moving them to a new module. Now that I've done that, though, I'm not sure it was the best move for every type. Many of the enumerations, in particular, seem like they might make more sense in a specific module after all. I do think this continues to look like the right choice for core types (TranslationUnit, Cursor, Type, etc.), though. |
This library should remain a thin layer over the C
libclang
API, but there are definitely some cases where things can be made a bit easier to use, and everything needs to be documented. Examples:The text was updated successfully, but these errors were encountered: