Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I don't think there's a definitive list of resources. Start with the spec and learn to optimize as you go
-
Most parsers are basically stream decoding state machines with handlers tied to certain transitions.
-
Root825995yParsers are a programmer's best friend.
As a corollary: you cannot really call yourself a programmer if you don't know how to write one.
Besides, they're fun! -
@enron456
Golang.
There are more than enough libraries , but they all are using a reflection-based approach for accessing data.
I'm more of a fan of dom-like interfaces for this. -
@Lor-inc I'm sure he understood every word of that
As for OP, great resource is this:
http://lisperator.net/pltut/
Read the whole thing from start to finish, it will give you a good understanding of how parsers work in general -
@AlgoRythm If he knows what a state machine is (which he might) then the rest is obvious.
-
@Lor-inc I thought it was a little silly to assume he did, given his inability to google things
Do you know some good resources on writing text-parsers, for stuff like json,INI,...?
question