TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

18 点作者 lpage超过 4 年前
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 条评论

ThePhysicist超过 4 年前
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 未加载
bjourne超过 4 年前
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.
edsonmedina超过 4 年前
Have you looked into any open-source language servers?
Pozzuh超过 4 年前
I wonder what your expectations are. Why would commercial IDEs not use the same methods of lexing and parsing as research products?
评论 #25489274 未加载