Cometary
Cometary copied to clipboard
Roslyn extensions, with a touch of meta-programming.
In its current state, Cometary does not run when building in Visual Studio, due to an error resolving dependencies, which is bad for the debugging experience. I'll try finding a...
The `Cometary.Macros` extension should declare a `Lazy` class that allows inline declaration of a variable that gets lazily computed. If possible, Macros should be able to modify whole method /...
It appears the analyzer can't run in Visual Studio because it targets .NET Standard 1.5. This is a problem, because .NET Standard 1.5 is required to have a custom `AssemblyLoadContext`.
The `Cometary.IL` sample brings the ability to print any IL code, and modify an assembly through `Mono.Cecil`. These features are not vital, but still extremely useful.
The point of the `CleanUpVisitor` is to remove every single dependency to Cometary. That means namespaces, classes, attributes, metadata references, etc. It currently only removes usings that start with `Cometary`,...
It's currently rather hard to do anything with Cometary without making many huge methods. For example, removing an attribute or keyword isn't a very satisfying experience. Many helpers will be...
More tests need to be added, especially for edge cases. Generics haven't been tested, and many features aren't even used in the tests yet. Also, it would be nice to...