Calling API commands

Jun 25, 2010 at 1:37 PM

I'm working on a project which involves a bunch of external Dll. I have wrappers around these Dlls and have a bunch of API calls I would like to get at through a custom language, where would I start to look/ what challenges might I face if I were to try and glue in custom commands in this way?

Jun 25, 2010 at 1:44 PM

Even from a basic point of view if I want to wire a simple command such a:

print("Hello World")

So it was linked to C#'s:

MessageBox.Show()

Being able to do that would probably give me some clues as to how I might wire in my API commands.

Coordinator
Jun 25, 2010 at 5:11 PM
Have a look at this article: http://intellect.dk/post/Writing-a-calculator-in-C-using-Irony.aspx it shows how to add calls to selected math functions inside expressions, custom impl of FunctionCallNode
Jun 28, 2010 at 8:41 AM

That looks like it might do the trick. Thanks, I'll get back to you to tell you how it goes.