Essentially the C# compiler in csswf Preview 2.

This version of the compiler is pretty bug free, and near complete. In addition to the parsing, it does type attribution (the /attrib flag) -- however it will not take into account referenced assemblies as of yet. So yeah, unless you are compiling swf (or other files that don't reference the Framework or the Base Class Libraries) the attribution isn't really much to behold. Loading assembly metadata and adding it to the definitions is next up. This still runs via CSharpUI.exe - this actually has a simple command line front end as well. It take multiple files, wildcards, as well as the switches /recurse,/out, and/baseaddress. Other switches determine what views, if any should be generated, you can look at CSharpUI.cs for the gory (yes, pretty gory) details.

Other than loading ref assemblies, the next version should simplify tree rewriting, do more differentiation (eg method refs vs delegate refs) do some optimizations, and create control flow graphs.

If you would like to keep informed of updates, or have any questions, feel free to subscribe to the (low traffic) csswf mailing list by sending a blank email to: csswf-subscribe@richmediabuilder.com

Source and Executable

Compiler Home

posted on Saturday, September 04, 2004 3:54 AM
Feedback
  • # C# SWF Compiler Update
    Jesse Ezell Blog
    Posted @ 9/22/2004 2:32 PM


  • # re: C# Compiler Update - Version 0.8 (Preview 2)
    satish
    Posted @ 11/7/2004 7:41 AM
    no comments

  • # re: C# Compiler Update - Version 0.8 (Preview 2)
    Steven Campbell
    Posted @ 11/23/2004 2:16 PM
    I'm getting a "page not found" error following the links to the source and executable :(

  • # re: C# Compiler Update - Version 0.8 (Preview 2)
    ashraf shahen
    Posted @ 12/3/2004 5:32 PM
    I'm getting a "page not found" error following the links to the source and executable

  • # re: C# Compiler Update - Version 0.8 (Preview 2)
    Robin Debreuil
    Posted @ 12/3/2004 5:58 PM
    Just to let everyone know here, the project I was working on was bought by Xamlon.com, where I now work, and thus is no longer available for download. We are working on a similar type of thing there, just larger in scope, and it will be available fairly soon. I would recommend checking out what they (we!) are doing if you haven't already -- it should make developing certain types of swfs much easier : ).

  • # re: C# Compiler Update - Version 0.8 (Preview 2)
    Ashraf Shahen
    Posted @ 12/5/2004 5:46 PM
    Hi, I really need (C# Compiler - Version 0.8), can I find it ?

Blog Stats

  • Posts - 121
  • Stories - 1
  • Comments - 1441
  • Trackbacks - 47

.Net Blogs

01101 Blogs

Flash Blogs

Graphics

People