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.

LALRPOP, an LR(1) parser generator for Rust

130 pointsby brsonover 9 years ago

4 comments

moominover 9 years ago
Is there any particular reason these days to favour a parser generator over a straight-up backtracking parser combinator library like attoparsec these days?<p>Seems like the whole reason for LALR(1) parsers was performance, and parsing is no longer as significant an amount of time compared to the old days, while helpful feedback, which any parser generator approach tends to be bad at, is at a premium.
评论 #10297666 未加载
评论 #10297619 未加载
评论 #10299333 未加载
Coding_Catover 9 years ago
It might be nice for us less formally-trained persons to include a small description of what an LR(1) parser is. I tried looking it up wikipedia, but the article isn&#x27;t that clear either IMHO.
评论 #10298579 未加载
评论 #10296870 未加载
评论 #10297328 未加载
评论 #10297576 未加载
simplifyover 9 years ago
How do LR(1) parsers compare to PEG?
评论 #10297199 未加载
xigencyover 9 years ago
Sounds fun.