bugsmith@programming.dev to Programming@programming.dev · 9 months agoParse, don’t validatelexi-lambda.github.ioexternal-linkmessage-square5fedilinkarrow-up187arrow-down10cross-posted to: hackernews@lemmy.smeargle.fans
arrow-up187arrow-down1external-linkParse, don’t validatelexi-lambda.github.iobugsmith@programming.dev to Programming@programming.dev · 9 months agomessage-square5fedilinkcross-posted to: hackernews@lemmy.smeargle.fans
minus-squareChubakPDP11+TakeWithGrainOfSalt@programming.devlinkfedilinkarrow-up2·9 months agoI subconsciously knew this, I currently am making a simple data exchange format to use with a program, and I am using PEG to create a parser. Chances of errors happning in this DXF is really low, but if the parser can’t parse it, it’s invalid.
I subconsciously knew this, I currently am making a simple data exchange format to use with a program, and I am using PEG to create a parser. Chances of errors happning in this DXF is really low, but if the parser can’t parse it, it’s invalid.