Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 970 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 970 Bytes

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