$ show whatwg/webidl
This repository hosts the Web IDL Standard specification, a formal grammar and semantics document for Web IDL. It is primarily a Bikeshed source document (index.bs) that generates the official specification HTML. The repository includes a build pipeline (Makefile, GitHub Actions) that compiles the spec and runs a grammar validation script (check-grammar.js) to ensure the grammar is LL(1). While not a software application in the traditional sense, it contains tooling for specification maintenance and grammar verification. The codebase is minimal, with the core value being the specification text itself rather than reusable software components.
The LLM identified 1 files worth highlighting for reuse:
A Node.js script that extracts grammar rules from the generated specification HTML, converts them to BNF notation, and checks if the grammar is LL(1) using the syntax-cli library. This pattern is reusable for any specification project that defines a formal grammar and needs to verify its LL(1) property. The script demonstrates a clean separation of concerns: DOM extraction, BNF transformation, and grammar analysis. It could be extracted and adapted for other Bikeshed or Ecmarkup specifications with minimal changes.