JScript.NET Expression Evalulator
Information
Description
JScript.NET Expression Evalulator dynamically evaluates
JScript.NET expressions, which can include functions,
function calls, variable declarations and assignments, etc.
This program illustrates how to add interpreted scripting features
to your C# programs.

JScript.NET Expression Evaluator Screen Shot
Press Evalulate Expression to evalulate the JScript.NET expression.
The result will be displayed unless there are syntax errors. If
syntax errors occur, the offending text will be displayed, along
with a description of the error, and the line and column where
the error was found.
This program uses a DLL written in (compiled) JScript.NET.
The source code is in package.js. Use the BuildPackage.bat
file to compile it using the command-line JScript.NET compiler.
The C# concepts illustrated by this source code include:
- Including JScript.NET packages in C# programs
- Using interpreted JScript.NET scripting
Requirements
This source code was developed with Microsoft Visual C# .net.
Source Code