conan-roslyn / Conan

Lightweight fork of the .NET Compiler Platform ("Roslyn") by adding a compiler plugin infrastructure
97 stars 3 forks source link

is it possible to add new keywordswith this tool? #2

Closed furesoft closed 5 years ago

furesoft commented 5 years ago

hi i want to add new keywords to implement design patterns automaticly something like:

singleton hello {}

or

repositor myrep {}

xoofx commented 5 years ago

Not really. It would require to fork entirely Roslyn to do what you want to achieve. Roslyn is against DSL changes, so it's probably not practical/recommended to go into this direction.