Commented Unassigned: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleNew Post: Handling CLR exceptions in JS
I see there was mention of a more general version of this but I don't know where to look for follow-up. Is there some sort of interface or magic return type we can use to signal the result of an...
View ArticleNew Post: Handling CLR exceptions in JS
Hello! ClearScript 5.4 does include a generalized version of tryCatch(). Here's an example: engine.AddHostObject("host", new HostFunctions()); engine.AddHostType("Console", typeof(Console));...
View ArticleEdited Issue: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleCommented Issue: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleCommented Issue: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleNew Post: Evaluating CLR Method as value in script
Well, I was using jQuery as an example since it's a common library. My code will be retrieving and executing scripts from 3rd party servers. I am trying to achieve a high level of compatibility (I have...
View ArticleNew Post: Evaluating CLR Method as value in script
Hi krisoye Is there a way to override the toString() method on ClearScript objects? Perhaps via some sort of Prototype object? [...] Expected: Something other than undefined and ideally overridden to...
View ArticleNew Post: Handling CLR exceptions in JS
Awesome! I had some other issues that were resolved by reading from the forum here. Originally I had exceptions bubbling up and out, but now that I've been able to attach a debugger I can see it...
View ArticleNew Post: Evaluating CLR Method as value in script
Well, that's pretty slick! V8 seems to run this code unless I attach a debugger. JScript (which seems easier to debug) does not (which complains about constructor.prototype not being defined). If I try...
View ArticleNew Post: Evaluating CLR Method as value in script
Additional: I disabled my own "prototype objects" and was able to step into the debugger. So it must be something in my code that is causing the crash. Thanks again for the workaround!
View ArticleNew Post: Evaluating CLR Method as value in script
Hi again, Glad to hear that it worked for you, but yes, this solution can only work in V8, as JScript's embedding model is completely different and doesn't involve native proxies that conform to...
View ArticleNew Post: ClearScript on Mono/Xamarin?
Just signing in to register my interest in running under Mono also. considering Microsoft is making vNext cross platform I think having this EXCELLENT project cross platform would be awesome. I know, I...
View ArticleNew Post: I get memory leaks without running CollectGarbage
Hi I have a script that is simply:function foo(items) { items.toSomething(); // toSomething is a .NET function that does something to the list and returns a new one. } loop { // this loop runs many...
View ArticleNew Post: I get memory leaks without running CollectGarbage
Hi Stefan, I find that if I do not collect garbage eventually I end up with a memory leak, what is it holding onto I assume the collection passed into the method? The CLR and the script engine have...
View ArticleCreated Unassigned: ClearScript V8ScriptEngine Arithmetic [63]
Hello,I need help about clearscript. I am using class and this class has a variable. Example is under.public class DataDict{ public decimal AmountPenetrationBonus { get; set; } public decimal...
View ArticleEdited Unassigned: ClearScript V8ScriptEngine Arithmetic [63]
i resolved issue, thanks :)
View ArticleCommented Issue: ClearScript V8ScriptEngine Arithmetic [63]
i resolved issue, thanks :)Comments: Glad to hear it!
View ArticleNew Post: access indexer of a hosted object
I am trying to get my NamedNodeMap type working which may be indexed either by a number or a string. If I implement IList then I can evaluate expressions like map[0] -> Attr(href="") but map['href']...
View Article