OPERATING SYSTEMSOS Linux

Moving to Minimal Byte Scanner/Parser • Golang, PEGN, Linux, Vim, Tmux, LiveCoding

Powered by Restream https://restream.io/

It’s clear to me now that creating a scanner/parser based on unicode.Decode() was short-sighted since it is impossible to work with data that contain anything but Unicode (even though Unicode will likely be the most common case). I’ll explain why the spec got tweaked a bit as well to ensure that the notion of a byte as the smallest unit available to the scanner is clearer. The new PEGN spec adds limits to ‘any’ and the Binary definitions.

source

linux foundation

Leave a Reply

Your email address will not be published. Required fields are marked *