congo-cc / congo-parser-generator

The CongoCC Parser Generator, the Next Generation of JavaCC 21, which in turn was the next generation of JavaCC
https://discuss.congocc.org/
Other
36 stars 11 forks source link

Prepare for JTB feature enhancement #40

Closed adMartem closed 1 year ago

adMartem commented 1 year ago

Here is part 1 of changes that are not intended to create any new user-accessible features, but for clarity are separate from part 2. I revised the method created in ExpansionSequence for detecting > 1 syntactic child to make the intent clearer, I hope. Part 2 will contain further changes pertaining only to JTB compatible node generation. The will probably be a part 3 eventually to finish off the feature so that it does not require any syntactic node injections in the user's grammar, which I currently do have.

adMartem commented 1 year ago

I'm kind of lost trying to figure out what is wrong with the Python and Csharp tests. If you could give me a clue as to what I might have done in these changes that broke those, I'd be grateful.

adMartem commented 1 year ago

I'm going to rebase these with some changes.