Hacker News new | past | comments | ask | show | jobs | submit login

Short answer is that it doesn't: it lets tree-sitter do the heavy lifting to parse everything



Thanks! But then I guess my question is how does tree-sitter do it? I assume it has to choke on at least macros, right? Or does it call the actual compiler routines (like libclang)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: