Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

Making the library language/compiler agnostic

Open LPeter1997 opened this issue 1 year ago • 3 comments

Description

As I have raised in #278 , it would be nice to make the library extensible and language-agnostic, since it's pretty easy to develop .NET languages. Long story short, as I've started fleshing out the idea, basically implemented my proposed solution. Users can register ICompilerOptionsParsers through AnalyzerManagerOptions to extend with a compiler. The 3 compilers already supported (Roslyns C# and VB, FSC) are in the list by default.

LPeter1997 avatar Jul 12 '24 14:07 LPeter1997

I really like the idea of opening up Buildalizer for different languages. I'm not sure yet about the proposed solution. There are a lot of changes in here, all requiring attention. It ols means a lot of breaking changes. We should investigate how we reduce the pain for users when they have to migrate.

Corniel avatar Jul 13 '24 07:07 Corniel

@LPeter1997 It's a big change, as I mentioned in the issue, I like the idea, but we need to evaluate this PR very carefully to ensure the next steps. This is on my list, I just ask for patience, I promise to evaluate it as quickly as possible.

phmonte avatar Jul 31 '24 18:07 phmonte

I tried an alternative approach, that involves less drastic changes. See #285

Corniel avatar Aug 01 '24 10:08 Corniel

Can you check if you can work with the API proposed in #306 ?

Corniel avatar Jul 16 '25 07:07 Corniel