4 ms·
I first came across something like this in janet, which includes a PEG system in the standard library. It definitely changed how I think about text processing.
by giraffe_lady 2y ago
I first came across something like this in janet, which includes a PEG system in the standard library. It definitely changed how I think about text processing. Very much of the time what I find myself doing with regex is defining a grammar, but I didn't realize that. I wish more languages included the tools for it, it's a core operation of practical programming.
https://janet-lang.org https://janet-lang.org