Skip to content
/ Synto Public

.NET library for working with Roslyn's syntax trees

License

Notifications You must be signed in to change notification settings

redoz/Synto

Repository files navigation

Synto

This is an experimental library designed to make it easy to construct Roslyn syntax trees for when you're working with source generators. It does this by using a source generator that takes syntax trees as parsed by the compiler and "quotes" them to expose the syntax tree itself in your code.

This project was inspired by the excellent RoslynQuoter by Kirill Osenkov, the online version has been invaluable in understanding the C# syntax structure.

See examples/Synto.Examples/Program.cs for some simple examples of what currently works.

Useful Links

Incremental Source Generators

Source Generators Cookbook

About

.NET library for working with Roslyn's syntax trees

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages