TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best resources for learning about commercial “IDE grade” parsers

18 pointsby lpageover 4 years ago
The fact that neither the traditional CS curriculum nor the research literature covers &quot;real world, production-grade&quot; parsers - especially ones suitable for use in commercial IDEs - has come up repeatedly on HN. That begs the question: are there resources that do? This is <i>not</i> a question about how lexing and parsing works, the merits of parser generators and specific grammars, the implementation of canonical parsers, or codebase examples, e.g., JetBrains community edition. It <i>is</i> a question about design patterns for practical concerns like evolution and maintainability, generating great error messages, operating incrementally, and remaining snappy when used on real (not pathological) PL sources. Thanks!

4 comments

ThePhysicistover 4 years ago
I think &quot;Parsing Techniques&quot; by Grune &amp; Jacobs is the bible when it comes to parsing, it covers all subjects you mentioned and gives a detailed overview of most practical parsing approaches.
评论 #25492558 未加载
bjourneover 4 years ago
Engineering: A Compiler covers the issues you mention, but it is part of at least <i>some</i> CS curricula so I&#x27;m not sure it&#x27;s what you&#x27;re looking for.
edsonmedinaover 4 years ago
Have you looked into any open-source language servers?
Pozzuhover 4 years ago
I wonder what your expectations are. Why would commercial IDEs not use the same methods of lexing and parsing as research products?
评论 #25489274 未加载