News for hackers. Stuff that matters.
Re:Just Write the Parser by Cloudef on Thursday October 22, 2020 @02:21AM (#24855387)
Whenever someone mentions parsers or parser combinators, the only thing that comes to my mind is ragel that's really suited for generating any sort of parsers http://www.colm.net/open-source/ragel/
Re:Just Write the Parser by Cloudef on Thursday October 22, 2020 @05:00AM (#24856091)
https://git.cloudef.pw/escpos2raster.git/tree/src/escpos/par... here is example, where I use ragel to parse ESC/POS printer protocol. Software that allows raster printers to print ESC/POS stuff.