Dust.js with Jint raises JintException: Function expected

Hi I'm trying to run linkedin fork of Dust.js with Jint but get JintException. Code that I use works on Jurassic and Javascriptdotnet. dust-full-1.2.0.js is taken from https://github.com/linkedin...

Id #6981 | Release: None | Updated: Apr 23 at 9:59 AM by ewgenym | Created: Apr 23 at 9:58 AM by ewgenym

Incorrect ANTLR runtime version

The Antlr3.Runtime.dll that is currently used requires .NET 3.5. However, Jint itself does not require .NET 3.5 and works OK with .NET 2.0. An Antlr3.Runtime.dll that works OK with .NET 2.0 can be ...

Id #6980 | Release: None | Updated: Sat at 10:08 PM by TheRandomGuy | Created: Apr 14 at 9:10 AM by rpmodell

ANTLR does not report all lexing/parsing errors

ANTLR needs a little bit more configuration to ensure that all lexing/parsing errors are reported. Currently, not all lexing/parsing errors are reports. If the following code would be added somew...

Id #6979 | Release: None | Updated: Apr 14 at 9:09 AM by rpmodell | Created: Apr 14 at 9:09 AM by rpmodell

Loopung through arguments keys

Hi, I encountered what seems to be a bug when I tried to go through a function arguments. arguments.GetKeys() returned nothing when the length was 2. I had to use a tiny function like this one ...

Id #6978 | Release: None | Updated: Mar 11 at 1:01 PM by Synryu | Created: Mar 11 at 1:01 PM by Synryu

Infinity

JS code var t = 1 / 0; return me -infinity. In JsNumberConstructor.cs this.DefineOwnProperty("NEGATIVE_INFINITY", New(Double.PositiveInfinity)); this.DefineOwnProperty("POSITIVE_INFINITY", New(D...

Id #6977 | Release: None | Updated: Feb 23 at 5:54 PM by Salia2 | Created: Feb 23 at 5:54 PM by Salia2

Calling __defineGetter__ throws JintException

Executing this simple code: var engine = new JintEngine(); engine.Run(@" A = {}; A.__defineGetter__('foo', function() { return 'bar'; }); "); throws following exception: Unhandled Exception: Jint...

Id #6976 | Release: None | Updated: Jan 26 at 10:01 PM by miszczu | Created: Jan 26 at 10:01 PM by miszczu

Detailed exception is required

When script call function that not defined i see: "Function expected". But what function? Why there not function name? How hard to add a little more details to the exception message?

Id #6975 | Release: None | Updated: Nov 18, 2012 at 8:41 PM by pro100sanya | Created: Nov 18, 2012 at 8:41 PM by pro100sanya

eval doesnt scope right

eval.apply(this,["...."]) with this = global should be operating on global scope. It does not ie in jintshell f=function(){eval.apply(this,arguments)} f("var foo = 42") print(foo) should sa...

Id #6974 | Release: None | Updated: Oct 26, 2012 at 8:27 PM by pm100 | Created: Oct 26, 2012 at 8:27 PM by pm100

parseInt(string, int) not working

Calling parseInt("09", 10) causes Exception, because Jint still interprets leading zero as octal number although there is radix 10. So it is impossible to parse integer from numbers with leading ze...

Id #6973 | Release: None | Updated: Oct 23, 2012 at 5:41 PM by baboon27 | Created: Oct 23, 2012 at 5:41 PM by baboon27

string.valueOf doesnt work

if I have a string created by calling .net code (maybe other cases too) then valueOf on it doesnt work It fails because jstringconstructor declares valueOf to take a jsstring (at the call time we...

Id #6972 | Release: None | Updated: Oct 12, 2012 at 5:54 PM by pm100 | Created: Oct 12, 2012 at 5:54 PM by pm100