
We are happy to announce that new version of YantraJS is now available under Apache 2.0 License
.
Why did we change our License?
We want to direct our effort in building larger community to strengthen YantraJS Engine. We are using YantraJS in Web Atoms for Xamarin Forms, which allows us to create .NET User Interface applications in JavaScript. And we want to bring various features of JavaScript to whole .NET User base.
What will be free?
YantraJS source code released in this repository (contributed by other contributors - merged pull requests) will be available for free under selected license.
NuGet
Name | Package |
---|---|
YantraJS (With CSX Module Support) | |
YantraJS.Core (Compiler) | |
YantraJS.ExpressionCompiler (IL Compiler) | |
WebAtoms.YantraJS |
Features
- Compiles JavaScript to .Net Assembly
- Strict Mode Only JavaScript*
- Arrow functions
- Classes
- Enhanced object literals
- Template strings and tagged templates
- Destructuring
let
const
- Map, Set, WeakMap, WeakSet
- Symbols
- Subclassable built-ins
- Binary and Octal literals
- Module support
- Null coalesce
- Optional property chain
identifier?.[]
,identifier?.(
,identifier?.identifier
- Rest, Default and Spread Parameters
- Generators, iterators, for..of
- Async/Await
- Optional parameters
- Many ES5 + ES6 features
- CommonJS Module Support
- Easily marshal CLR Object to JavaScript and other way around
- CSX Module support
*
Most JavaScript today is available in strict mode, we do not feel any need to support non strict mode as modules are strict by default.
Sponsorships
We have setup Patreon Page and we will appreciate any help from community.
Patreon Page
Roadmap
The money we will receive via sponsorship will be used to achieve following milestones.
- Private Fields
- Async Generators
- V8 Inspector Protocol
- Improve Code Generation Speed
- Increase ECMA conformance
- Increase test262 success rate
- Temporal
And many features that will come in future.
Github Page
Web site
![]() | ![]() | ![]() | ![]() |
Like | Comment | Save | Share |