Kevin Gibbons
Kevin Gibbons
The TypeScript team seems set on making a decision I think is going to lead to a lot of pain for beginners: they are categorically against rewrite module specifiers. This...
As in https://github.com/75lb/command-line-args/issues/112, I was surprised to find that parsing a flag with a type when the argument is omitted does not error, instead returning `null`. That issue points to...
The [wiki](https://github.com/75lb/command-line-args/wiki/Terminate-parsing-with-a-double-hypen#solution-use-stopatfirstunknown-with---) discusses how to correctly handle a double hyphen / double dash (`--`), but the suggested solution doesn't work when `defaultOption` is set, particularly alongside `multiple`: ```js 'use strict';...
For ecmarkup, I need to associate the generated HTML productions with their original `Production` objects. The obvious way to do that is to make an emitter which creates JSDom nodes...
Repro: ```js 'use strict'; let { CoreAsyncHost, Grammar, GrammarkdownEmitter } = require('grammarkdown'); let source = ` Foo : Bar `; (async () => { const grammarHost = CoreAsyncHost.forFile(source); const grammar...
I think the HTML probably needs to be rebuilt too, but I couldn't figure out how to do it. There's no script in `package.json` which is suggestive of "this will...
The README doesn't really explain what problem this proposal is setting out to solve, which makes it hard to evaluate.
e.g. enter `S -> A`. "Verify" says "A" is in the language of the grammar, but because test cases get lowercased, "A" will not match in the box. Preferred solution...
[Treefuzz](https://github.com/bakkot/treefuzz) implements the algorithm [used in this project](https://github.com/bakkot/cfgrammar-tool/blob/master/generate.js), but generalizes it and is cleaner.
(tested with 1.11.24.0 on Mac OS) This is one of those "I went looking for dumb edge cases" bugs. It didn't come up in real code - it requires code...