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: What are some resources on how to build a parser?

2 pointsby in9about 8 years ago
I want to learn what are the fundamental concepts (data structures + algorithms) on how to build a parser.<p>I don&#x27;t want to build a compiler, but I&#x27;d like to parse some semi-structured NLP (i.e. bibliography data at the end of scientific papers).<p>I am not sure building it from scratch is optimal, but it does sound fun.<p>So far the only concrete resource that I have is Ch 6 of &quot;The Awk Programming Language(1988)&quot; mentioned here on HN a while back [0].<p>But since this is a personal project, id like to maybe join it with learning a functional language, such as Scala or Haskell. Also, maybe, a more modern resource would be nice, I am not sure.<p>Also, is there some known bibliography parser suited for programming with out there?<p>[0]: https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13451454

2 comments

adrice727about 8 years ago
&quot;Functional Programming in Scala&quot; has a chapter dedicated to building parsers (Chapter 9).<p><a href="https:&#x2F;&#x2F;www.manning.com&#x2F;books&#x2F;functional-programming-in-scala" rel="nofollow">https:&#x2F;&#x2F;www.manning.com&#x2F;books&#x2F;functional-programming-in-scal...</a>
mellingabout 8 years ago
there are some parsing urls on this page:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;melling&#x2F;ComputerLanguages&#x2F;blob&#x2F;master&#x2F;compilers.org" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;melling&#x2F;ComputerLanguages&#x2F;blob&#x2F;master&#x2F;com...</a>