← All projects
Project record1 mention
Originally shared on Hacker News

XPath 1.0/2.0 Parser & Evaluation System in C++20

An XPath 1.0 parser and evaluation system implemented from scratch in C++20, with XPath 2.0 support currently being added. The project comprises 10.5K lines of code and 774 individual tests to ensure compliance with the W3C spec, developed with heavy use of AI coding tools (Codex and Claude).

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. XPath 1.0/2.0 Parser & Evaluation System in C++20

    An XPath 1.0 parser and evaluation system implemented from scratch in C++20, with XPath 2.0 support currently being added. The project comprises 10.5K lines of code and 774 individual tests to ensure compliance with the W3C spec, developed with heavy use of AI coding tools (Codex and Claude).

    Posted by @paul_manias · Original source ↗

    Source text · @paul_manias · · Source ↗

    In the last 7 days I implemented a complete XPath 1.0 parser & evaluation system from scratch in C++20. Right now I'm adding support for XPath 2.0.