Click here to Skip to main content
15,883,705 members
Articles / Containers / Virtual Machine

Conscript IDE: An Integrated Development Environment (IDE) implementation for the Conscript scripting language

Rate me:
Please Sign up or sign in to vote.
4.90/5 (23 votes)
4 Sep 2008CPOL4 min read 100.2K   2.2K   158  
The third and final article in the Conscript .NET scripting engine article series.
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)


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