Questions tagged [jint]

Jint is a JavaScript interpreter for .NET.

Jint is a script engine based on the JavaScript language. Using Jint, developers can provide fully scriptable applications, execute .NET code without compiling, or create external configuration logic, using the most used script language.

Jint aims at providing every JavaScript functionalities to .NET applications, and bindings to .NET languages can be done in both sides. Jint scripts can use any .NET object from your application, and use every part of the .NET base class library.

Jint has been rewritten completely and is now hosted on Github.

Jint Information (codeplex archive)

118 questions
2
votes
1 answer

Does JINT support TypeScript

We need to write Java script functions and call them from WPF application using Jint. We would like to move to Typescript as it is a Superset of JavaScript which primarily provides optional static typing, classes and interfaces. Is it possible to…
2
votes
1 answer

Using third party js libraries with Jint

I'm working on a feature where user defined, anonymous, javascript functions retrieved from a database need to be executed server side in the context of ASP.Net application. I'm evaluating Jint for this purpose (Latest version from NuGet). I have…
Uchitha
  • 998
  • 8
  • 24
2
votes
0 answers

Jint - Halting script until input is given

I'm working on a scripting interface for a game server I'm developing. I'm mimicing a NPC chat using MessageBoxes. Here's my script: var a = test("hey"); if (a == true) { send("yes"); } else { send("no"); } Here's my code: private…
Gilbert Williams
  • 970
  • 2
  • 10
  • 24
2
votes
0 answers

Implement 'break now' at the jint(Javascript interpreter for .NET)

I'm using Jint to evaluate JavaScript within a C# application. And I'm trying to make visual debugger. While script is running at background thread, I want to control script execution at GUI(Start, Break, Step, Stop). Jint provide control interface…
scpark
  • 21
  • 3
2
votes
0 answers

Returning and populating jintArray from jni

I'm trying to return a jintArray from C++ to Java but no matter what I do the call keeps hanging and the code just stops. Even with something simple like this JNIEXPORT jintArray JNICALL Java_main_getIntArray(JNIEnv *env, jclass c) { …
MicroHat11
  • 227
  • 3
  • 12
2
votes
1 answer

How to get JSON value from Javascript using JINT library

I have this JavaScript file: var input = { "CONTRATE": 0, "SALINC": 0, "RETAGE": 55.34, "MARSTATUS": "single", "SPOUSEDOB": "1970-01-01", "VIEWOPTION": "pension" }; var inputValidation = "input.CONTRATE > 50 && input.SALINC < 50 &&…
monstro
  • 6,254
  • 10
  • 65
  • 111
2
votes
2 answers

JINT - Can External Javascript be Included in parsing?

I am wanting to implement JINT in my website, with Ace text editor for the management to write some scripting situations in javascript. So far this looks to be fine, but I am having a hard time finding some specific information. Essentially, I need…
Ciel
  • 4,290
  • 8
  • 51
  • 110
2
votes
2 answers

Interpret/parse Javascript Variables in c# with JInt or similar

I'm attempting to build an application that uses an API that was made for JavaScript. Rather than sending down JSON or XML it sends a Script tag with a JavaScript object within it like so: