Skip to content
kswoll edited this page Feb 1, 2014 · 4 revisions

This repo is composed of a number of sub-projects.

  • WootzJs.Compiler: This is the C# console program that performs the transformation of a C# project into a .js file. It uses Microsoft's Roslyn project to parse the C# project. A technical overview goes into more detail about this process.

  • WootzJs.Runtime: This implements the base class library (BCL). Classes like String and List<T>. The result of this project is the mscorlib.dll and mscorlib.js files that you will reference from your projects.

  • WootzJs.Compiler.Tests: An extensive suite of unit tests using QUnit. Despite its name, it represents the test suite for verifying the results of the compiler itself, and also the classes in WootzJs.Runtime. Because it uses QUnit, it verifies the actual generated Javascript, rather than merely running the tests within the CLR.

  • WootzJs.Web: Provides bindings to the browser, including its DOM. MDN's DOM reference is a good resource and representation of what is afforded by this API.

  • WootzJs.JQuery: Provides bindings to jQuery.

  • WootzJs.Mvc: A UI framework to support an MVC architecture with programmatic C#-built views.

Clone this wiki locally