Click here to Skip to main content
15,896,606 members
Articles / Containers / Virtual Machine

Conscript: An embeddable, compiled scripting language for .NET

Rate me:
Please Sign up or sign in to vote.
4.97/5 (58 votes)
5 Sep 2008CPOL15 min read 159.7K   1.4K   141  
An API for enhancing any .NET application with a scripting language
using System;
using System.Collections.Generic;
using System.Text;

namespace Conscript.Runtime
{
    /// <summary>
    /// Defines an interface for implementing host function calls.
    /// </summary>
    public interface HostFunctionHandler
    {
        #region Public Methods

        /// <summary>
        /// Invoked on a call to a host function.
        /// </summary>
        /// <param name="strFunctionName">Name of the invoked host function.</param>
        /// <param name="listParameters">List of parameters passed to the function.</param>
        /// <returns>Return value of the host function.</returns>
        object OnHostFunctionCall(String strFunctionName, List<object> listParameters);

        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Malta Malta
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions