3 ms·
How do you find using libclang for parsing (and I assume for indexing the source code) -- at one point I was considering writing a C only text-editor that under
by grok2 11y ago
How do you find using libclang for parsing (and I assume for indexing the source code) -- at one point I was considering writing a C only text-editor that understood the code using libclang for parsing, but was worried that there would be too many corner cases for it to be useful. (Would be cool if you can write up some blog post regarding your experience with it).
Also will sled work for browsing an entirely C codebase (without any C++)?
- slededit 11y agoIt should work with C code, right now it will parse it as C++ but that can easily be fixed in the future. The 20th of this month will be the 1 year mark of when I started writing it. Creating an editor isn't for the faint of heart. I'll consider a writeup for libclang. The documentation isn't very good in my opinion and I'm still not convinced I'm using it right even now.