DEV Community

Carter Harrison
Carter Harrison

Posted on

Hardest text file to parse 🚨

USGS Datasheets are incredibly hard to parse, just look at One. At least they provide a 46 page spec. They are full of edge cases and nuances.

I needed to parse them for my startup Vay, here is my attempt in golang: https://github.com/carterharrison/dsdata. It is open source so feel free to make improvements.

It is a fun challenge, you should give it a try to hone your skills.

Top comments (1)

Collapse
 
mburszley profile image
Maximilian Burszley

If the only consumption for the data is parsing a text file instead of anything structured, they have a serious problem where they're wasting everyone's time.