The book of inspiration

October 1, 2009

jsc is awesome

Filed under: jsc — Tags: , , , , , — zproxy @ 7:40 am

Now that I got your attention:

There is a new release for jsc with two new screencasts. This time around you are able to omit [Script] attribute and ditch the tools/build.bat. The jsc solution now includes  the jsc.meta compiler which will talk to the other compilers for you.

I am also experimenting with pre compilers. For example the Forms example makes use of TextualUserControl and TextComponent. Without getting too technical they generate a new assembly and add the reference to your csproj file. This opens up some really interesting possibilities. I will talk more about this in future posts.

Future pre compilers in jsc solution could include automatic stub generators for java jar files and for flash swf and swc files.

Open javascript version.

Open actionscript version.

Open javascript version.

Open java version:

demobutton.png

PS. Video parameters “&w=800&fmt=18″

Advertisement

6 Comments »

  1. Hi. I am really excited about is this technology. Just feel curious and doubt whether JSC manage to convert any .net assembly project to actionscript with just a CLICK using JSC?

    Comment by Darren — October 8, 2009 @ 8:18 am

  2. I have tried to convert a C# project using JSC. And i hit this error
    ————————————————————-
    Error 1 The command “pushd ..\..\tools\
    call build.bat VCS2005Projects VCS2005Projects.dll Debug
    popd” exited with code 2. VCS2005Projects
    ————————————————————–

    Did i miss out any step?

    Comment by Darren — October 8, 2009 @ 8:22 am

  3. Hi,

    Could you teach me how to add the [Script] attribute to related projects function. I hit this error while compiling my project.

    Error 1 internal compiler failure: System.NotSupportedException: Implementation not found for type import : ADODB.ConnectionClass :: Void .ctor(); Did you forget to add the [Script] attribute? C:\Documents and Settings\My Documents\Visual Studio 2008\Projects\ITEM\script ITEM

    Thanks

    Comment by Darren — October 9, 2009 @ 7:48 am

  4. Hi Darren,

    I have sent you an email so that we can elaborate on this issue.

    Comment by zproxy — October 12, 2009 @ 6:26 am

  5. I’d also consider a target for ExtendToAvalonEverywhere where the jsc.meta would separate client and server logic (with interop interfaces hinted by attributes, for example) into ASP.NET/PHP + JS/AS/SL/Java,whatever talking using xmlhttp. That would be really great breakthrough, because

    1. This raises the abstraction level
    2. Greatly simplifies the application testing
    3. Creates possibility for clients with no JS to gracefully fallback on statically-rendered HTML.

    Though as far as i see, your compiler is currently targeted at producing more like thick client applications (e.g. multiplayer games).

    Also, uhm, methinks, if you document the compiler internals a bit more (maybe blog about?), I can help extending code gen scenarios and/or extend stdlib faster, because now i feel somewhat half-blinded (the project is far from trivial size :) )

    I’ve subscribed to comments here, but also glad to talk on jabber/skype/icq or such.

    Comment by Alexander Nikitin — November 20, 2009 @ 1:44 am

  6. [...] Filed under: tech — zproxy @ 10:56 pm Should jsc javascript have an example for windows forms which would look [...]

    Pingback by Windows 3.11 « c# to javascript, actionscript — January 25, 2010 @ 10:56 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.