- From: Darien Maillet Valentine <notifications@github.com>
- Date: Tue, 15 Oct 2019 14:47:23 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 October 2019 21:47:28 UTC
@bzbarsky The check-grammar.js script uses [syntax-cli’s](https://github.com/DmitrySoshnikov/syntax#readme) `Grammar` class — https://github.com/heycam/webidl/blob/4203404f78d72d448d7d32c563733a35fa99b0ac/check-grammar.js#L40 — which exposes methods like [`getTerminals()`](https://github.com/DmitrySoshnikov/syntax/blob/212a6720d20e7d7b87b78106f7f6de8d37ca8d20/src/grammar/grammar.js#L332-L352) I haven’t dug in enough to say for sure, but it appears that the syntax-cli module provides the grammar introspection tools which would be needed to perform the test. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/814#issuecomment-542419073
Received on Tuesday, 15 October 2019 21:47:28 UTC