Monday, August 13, 2012

So I kind of have a dynamic code generation...

So I kind of have a dynamic code generation and execution library written in C# that works on Linux now, if you have GCC installed.

It works, as long as you define your delegate ahead of time, and pass it in as part of the process.

But what if you don't know what you want ahead of time? Say you want to ask the user, how many parameters do you want to pass to the function?

Right now you can't generate dynamically your calls, it won't let you cheat, but I think I figured a way around this. And that is...
Using the CodeDOM
The CodeDOM provides types that represent many common types of source code elements. You can design a program that builds a source code model using CodeDOM elements to assemble an object graph. This o...
View or comment on Joel Longanecker's post »
Google+ makes sharing on the web more like sharing in real life. Learn more.
Join Google+
You received this message because Joel Longanecker shared it with longjoel.baconbacon@blogger.com. Unsubscribe from these emails.
You can't reply to this email. View the post to add a comment.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.