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.

Show HN: A parser for electronic component descriptions

126 pointsby kasbahalmost 7 years ago

2 comments

kasbahalmost 7 years ago
Hey folks, I created this to augment the Octopart API while working on bill of materials tools for <a href="https:&#x2F;&#x2F;kitspace.org" rel="nofollow">https:&#x2F;&#x2F;kitspace.org</a>.<p>Working with Nearley was a fun experience and I recommend the blog post that got me started with it to anyone who is interested in writing a parser in JS: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@gajus&#x2F;parsing-absolutely-anything-in-javascript-using-earley-algorithm-886edcc31e5e" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@gajus&#x2F;parsing-absolutely-anything-in-jav...</a><p>We have started porting it to Antlr to make it language agnostic though we are still open to looking at other options as well. Does anyone have any good experience or some ideas for alternative approaches?
评论 #17740111 未加载
评论 #17741221 未加载
评论 #17742934 未加载
评论 #17745270 未加载
gravypodalmost 7 years ago
Is there a formatter planned for formatting an object into a pretty printed string?
评论 #17741242 未加载