News for hackers. Stuff that matters.
Re:Jsonpath – a query language for JSON in Postgres [pdf] by neilv on Saturday May 18, 2019 @08:10PM (#19950494)
Oleg Kiselyov's SXPath work shows XPath as combinators, in Scheme.

John Clements's packaging of SXPath for Racket might be the most accessible way to first look at it: https://docs.racket-lang.org/sxml/sxpath.html

Then Kiselyov's original writings: http://okmij.org/ftp/Scheme/xml.html#SXPath

Before Web browsers had nice developer tools in them, I made a little aid for crafting SXPath queries, for HTML scraping: https://www.neilvandyke.org/racket/webscraperhelper/

There are no comments on this comment yet.