
|
If you were logged in you would be able to see more operations.
|
|
|
Compiler should support compiler-related attributes.
Consuming :
- System.ObsoleteAttribute
- System.Diagnostics.ConditionalAttribute
Producing :
- System.Runtime.CompilerServices.CompilerGeneratedAttribute
- System.Runtime.CompilerServices.CompilerGlobalScopeAttribute ??
|
|
Description
|
Compiler should support compiler-related attributes.
Consuming :
- System.ObsoleteAttribute
- System.Diagnostics.ConditionalAttribute
Producing :
- System.Runtime.CompilerServices.CompilerGeneratedAttribute
- System.Runtime.CompilerServices.CompilerGlobalScopeAttribute ??
|
Show » |
|
My password isn't working or I would go ahead and commit the first one.
The first one (synthetic2.patch) simply improves marking which nodes are generated by the compiler vs. the user (issynthetic):
http://groups.google.com/group/boolang/msg/21ba724d18699651?hl=en&
Also it adds the script for showing the ast after every step that I've had up on the website for 2 years.
The second patch replaces the use of Boo.Lang.ModuleAttribute with CompilerGlobalScopeAttribute. Since the attribute is in the .NET class library instead of boo.lang.dll, it solves a whole host of problems with the boo.lang.dll dependency. You can now use module methods/properties/fields in another boo library even if it was compiled with a different version of boo. Since you are about to start changing the version of boo with every update, this is even more important.