Jump to content
  • Advertisement
  • entries
  • comments
  • views

Tangent: Improved .NET Imports

Sign in to follow this  


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.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!