4 ms·
PEGs (even outside Janet) are amazing and what I reach for all the time :) definitely one of those tools that’s worth learning!
by girvo 1y ago
PEGs (even outside Janet) are amazing and what I reach for all the time :) definitely one of those tools that’s worth learning!
- natrys 1y agoYep peg.el[1] is now built-into Emacs since 30.1 (which is how I came to know of it, but actually the library seems much older) and it makes certain things much simpler and faster to do than before (once you figure out its quirks). [1] https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/peg.el https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...
- bmn__ 1y ago> PEGs (even outside Janet) are amazing […] worth learning! Actually, the opposite is the case. https://news.ycombinator.com/item?id=32316375 https://news.ycombinator.com/item?id=32316375 HN readers, don't fall into this trap and waste your time.
- girvo 1y agoAh yes, I, the non-python programmer, find PEGs useful and good because of checks notes Guido, somehow? What a ridiculous comment.