Skip navigation

YantraJS

YantraJS

YantraJS

YantraJS

  • Home

  • Membership

  • More

  • Home
  • Membership

YantraJS

YantraJS

YantraJS

YantraJS

  • Home

  • Membership

  • More

  • Home
  • Membership
creator-hero-placeholdercreator-hero

YantraJS

Loading content

GitHub YantraJS Repository Yantra (Machine in Sanskrit) is a Managed JavaScript Engine for .NET Standard written completely in C#. FeaturesCompiles JavaScript to .Net AssemblyStrict Mode Only JavaScript*Arrow functionsClassesEnhanced object literalsTemplate strings and tagged templatesDestructuringlet constMap, Set, WeakMap, WeakSetSymbolsSubclassable built-insBinary and Octal literalsModule supportNull coalesceOptional property chain identifier?.[], identifier?.(, identifier?.identifierRest, Default and Spread ParametersGenerators, iterators, for..ofAsync/AwaitOptional parametersMany ES5 + ES6 featuresCommonJS Module SupportEasily marshal CLR Object to JavaScript and other way aroundCSX 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. YantraJS.ExpressionCompilerExpression compiler is similar to .NET's Linq Expression LambdaCompiler and supports compiling expression to method builder. It is not drop in replacement but the API is quite familiar to Linq Expressions. YantraJS Core YantraJS.Core is a JavaScript engine, which contains Scanner, Parser and Compiler which compiles JavaScript AST to ExpressionCompiler Expressions. That in turn are converted to IL and it can be saved. ECMAScript Conformance Currently we are seeing more than 70% conformance to ECMAScript, reaching 100% is little out of scope as it is very huge and Yantra is only one year old. We are focusing on supporting most used JavaScript patterns instead of targeting 100% compliance due to limited development bandwidth.

Get more from YantraJS

Access exclusive benefits starting at €9/month
Gift
Loading content
Loading content