csharpier
csharpier copied to clipboard
Improve if directive formatting
Some things that don't work yet.
- nested directives
- if the final else needs a specific combination, that won't be in the set
- we don't actually look at not's correctly. Meaning
#IF !ONE && TWOis parsed as ONE TWO, instead of just TWO - related, for something like
#IF ONE || TWOwe only need one of the two symbols - we may want to allow specifying symbolSets by file
- #121
https://github.com/belav/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Startup.cs has some good examples
https://stackoverflow.com/questions/25789994/microsoft-solver-foundation-sat-cnf