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.

Create Your Own Expression Parser

7 pointsby treyhuffineover 5 years ago

1 comment

dastxover 5 years ago
I've been looking to write a basic system that can parse documents of HTML protocol in go but it seems no such project exists. So I set out to write my own, and I come across a whole lot of projects that help you write your own parser. However, they're usually allowing to write an already popular method (ebnf, bison, yacc) but for whatever reason, I'm struggling to find any documentation on writing these things. Like, where is the a documentation for writing yacc (go) files? Or EBNF? Or whatever else.
评论 #22213931 未加载