datalust / superpower

A C# parser construction toolkit with high-quality error reporting
Apache License 2.0
1.05k stars 98 forks source link

Initial cut of <Nullable>enable</Nullable> #126

Closed nblumhardt closed 3 years ago

nblumhardt commented 3 years ago

Quite a few !s remaining in there - in particular, TextSpan.Source is nullable/observable in its null state, but we mostly ignore that for perf reasons, since the higher-level APIs prevent us seeing null text spans... 🤔

Probably good enough to get started with :-)

nblumhardt commented 3 years ago

Rebased and merged in https://github.com/datalust/superpower/commit/0ced28cb3b06d8a0bc6c36403ace7c44ae32ac79 :-)