🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Tangent: Improved .NET Imports

Published March 10, 2009
Advertisement
Minor update. The built-in types now are imported fully from whatever .NET assemblies you have rather than hard-coded into the language. The current importer can deal with any type that has a default constructor, or is static/abstract/etc, or is System.String. It imports the default constructor and any (instance or static) fields, methods, indexers and properties on the type that are comprised of only types it can deal with.

Currently it does not look at all to overloaded operators, enums, or delegates (it might do delegates, but not correctly if it does). It will handle generic types, but not any constraints on them (and statics on generic types prolly don't work).

And non-standard constructors are out.


Still, a step in the right direction. Mostly, this enhancement will allow string manipulation which is important for demo/example programs.
Previous Entry Tangent: Little fixes.
Next Entry Tangent: Mines!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement