-
Notifications
You must be signed in to change notification settings - Fork 21
kswoll edited this page Feb 1, 2014
·
13 revisions
####What C# language features are supported?#### The only core feature of C# that is not implemented yet is async/await. Notably, you can expect support for the following features:
-
yield
operator via a state machine - extensive reflection support
- expression trees
- C#-style lambdas and closures
- anonyous types
####What C# language features are not supported?####
- All numeric types (including
decimal
) are implemented as the native Javascript type. This means that all numeric types will always return true when asking whether it is any C# numeric type. - Async/await are not supported
####Why might I not want to use WootzJs?####
- you want the .JS output to be clean, as though you handwrote it
- you don't want native Javascript types such as
String
,Number
, andArray
to be polluted with members generated by WootzJs. (those types, for example, have members that correspond to methods you'd expect on their equivalent C# types) - you don't want to interact with the Javascript through C# syntax such as namespaces and classes.
####Why is it called WootzJs?#### It's a play on wootz steel (which is sharp, like C#!) and Javascript.