Interested in participation

May 3, 2012 at 12:30 AM

Hi,

I am really impressed by what is accomplished so far, even if it is a bit old, but if you are willing to upgrade it to 4.0, (which a requirement for me/my new project) and you can accept VB code, then maybe (after you explain to me how it really works) we can revive this amazing really useful project.

Sincerely Mohamed Amine SEBBANE

Coordinator
May 3, 2012 at 1:48 AM
I'm glad you think the project's amazing. :-) I haven't worked on this in a while and have moved on to other things. I suggest checking out SharpKit and seeing if that fits what you need. I'm pretty sure that's under active development.
May 3, 2012 at 6:48 AM
Edited May 3, 2012 at 6:51 AM

Thank you for your quick reply.

But I found http://jsil.org/try/ instead; it works great with 4.0 and solves my problem with exceptions.

This:

using System;

public static class Program {
    public static void Main (string[] args) {
        int x= 123;
    try 
    {
        x = 123;
    }
    catch
    {
    }
    // Good!
    Console.Write(x);
    }
}
Becomes this: (just what I expect.)
// Generated by JSIL v0.5.0 build 37512. See http://jsil.org/ for more information. 

var $asm00 = JSIL.GetAssembly("751b21c1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null");
var $asm01 = JSIL.GetAssembly("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
var $sig = new JSIL.MethodSignatureCache();

/* Generated by JSIL v0.5.0 build 37512. See http://jsil.org/ for more information. */ 
var $asm00 = JSIL.DeclareAssembly("751b21c1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null");

JSIL.MakeStaticClass("Program", true, [], function ($) {

  $.Method({Static:true , Public:true }, "Main", 
    $sig.get(67571, null, [$jsilcore.TypeRef("System.Array", [$.String])], []), 
    function Main (args) {
      var x = 123;
      try {
        x = 123;
      } catch ($exception) {
      }
      $asm01.System.Console.Write(x);
    }
  );

});
I am officially a fan, because IT WORKS on web pages.
Coordinator
May 3, 2012 at 11:24 AM

Great.