This project is read-only.

Using Syntax Transforms in compile pipeline

Topics: APIs
Apr 7, 2014 at 11:58 AM
Edited Apr 7, 2014 at 12:05 PM
Are there any plans to allow custom syntax transforms as part of the compile pipeline?

Specifically I'm looking for a way to support code injection and manipulation based on specific syntax markers. Existing examples would be ObsoleteAttribute, ConditionalAttribute, iterators and async/await.
Apr 7, 2014 at 12:11 PM
On a higher level, macros similar to Nemerle's would solve 'all' these issues.
Apr 7, 2014 at 12:17 PM
I'm more interested in extending the existing languages rather than reaching for a whole new language with built in support for this.

Basically I'm trying to support AOP in C# and VB.