1

I'm currently porting a my tiny space game project from Delphi 2007 Win32 to C#(and XNA). In Delphi, i used RemObjects Open Source scripting solution "PascalScript".

Now that i continue developing the game with C#, i'd like to use IronPython for scripting purposes.

The only problem is, that i don't know how to achieve this. I'd be very happy if some of you could give me some advise.

3 Answers 3

3

If you just want to see how it can be achieved...

Here's one example to do that.

Sign up to request clarification or add additional context in comments.

Comments

1

This is an even better example ( C# in VS 2008)

Extending your C# application with IronPython

http://blogs.microsoft.co.il/blogs/berniea/archive/2008/12/04/extending-your-c-application-with-ironpython.aspx

Comments

1

The DLR in C# 4.0 will provide native support for calling Python code programmatically; so anything you can try before 2010 will be hackish at best.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.