bugsmith@programming.dev to Programming@programming.dev · 1 year agoParse, don’t validatelexi-lambda.github.ioexternal-linkmessage-square7fedilinkarrow-up192arrow-down10cross-posted to: programming@programming.dev
arrow-up192arrow-down1external-linkParse, don’t validatelexi-lambda.github.iobugsmith@programming.dev to Programming@programming.dev · 1 year agomessage-square7fedilinkcross-posted to: programming@programming.dev
minus-squareChubakPDP11+TakeWithGrainOfSalt@programming.devlinkfedilinkarrow-up2·1 year 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.