2 ms·
I don't think that's necessarily better... The two alternatives I think parse best are: 1. But you might wonder: what does a Tree-sitter grammar look like, and
by airstrike 3y ago
I don't think that's necessarily better... The two alternatives I think parse best are:
1. But you might wonder: what does a Tree-sitter grammar look like, and how do you create one for a language?
2. But you might wonder what a Tree-sitter looks like and how to create one for a language.
In either case, I agree the right word is "what" not "how". The comma after "but" bugs me tremendously. The colon can be replaced by an em dash (—) if the writer prefers it—but I would not use a question mark for the second clause without separating it from the first "but you might wonder" in some way.
The comma left in alternative #1 is to needed (recommended?) because the "and" is joining two clauses with different subjects. I think it's not strictly needed in alternative #2 because it's really "(but you might wonder (what a tree sitter looks like and how to create one for a language))" where the inner term is a list of things the reader might wonder, and lists with only two items do not take a comma before "and"
I would also prefer "Where are we?" over "Where are we at?"
Not an English speaker, so just my $0.02.