Click here to Skip to main content
12,246,735 members (59,495 online)
Click here to Skip to main content
Articles » Languages » C# » General » Downloads

Stats

98.1K views
1.1K downloads
136 bookmarked
Posted

Conscript: An embeddable, compiled scripting language for .NET

, 5 Sep 2008 CPOL
An API for enhancing any .NET application with a scripting language
using System;
using System.Collections.Generic;
using System.Text;

using Conscript.Compiler;

namespace Conscript.Runtime
{
    /// <summary>
    /// Instruction operand type.
    /// </summary>
    public enum OperandType
    {
        /// <summary>
        /// Literal value.
        /// </summary>
        Literal,

        /// <summary>
        /// Simple variable identifier.
        /// </summary>
        Variable,

        /// <summary>
        /// Variable indexed indirectly via another variable indentifier.
        /// </summary>
        VariableIndexedVariable,

        /// <summary>
        /// Variable indexed directly via a literal value.
        /// </summary>
        LiteralIndexedVariable,

        /// <summary>
        /// Reference to a <see cref="ScriptInstruction"/>.
        /// </summary>
        InstructionRef,

        /// <summary>
        /// Reference to a <see cref="ScriptFunction"/>.
        /// </summary>
        ScriptFunctionRef,

        /// <summary>
        /// Reference to a <see cref="HostFunctionPrototype"/>.
        /// </summary>
        HostFunctionRef
    }
}

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)

Share

About the Author

Colin Vella
Software Developer (Senior)
Malta Malta
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 Sep 2008
Article Copyright 2007 by Colin Vella
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid