Nyar 0.0.0

dotnet add package Nyar --version 0.0.0
                    
NuGet\Install-Package Nyar -Version 0.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nyar" Version="0.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nyar" Version="0.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Nyar" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nyar --version 0.0.0
                    
#r "nuget: Nyar, 0.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nyar@0.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nyar&version=0.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Nyar&version=0.0.0
                    
Install as a Cake Tool

Nyar ๐Ÿš€

A powerful unified compilation and runtime platform designed to bridge multiple programming languages with seamless interop and superior performance.

๐ŸŒŸ Key Features

๐ŸŒ Multi-Language Support

  • TypeScript/JavaScript with full TSX/JSX support
  • Rust with ownership system and borrow checker
  • Zero-overhead cross-language FFI

โšก Advanced Optimization

  • E-Graph saturation for comprehensive program transformation
  • Partial evaluation for abstraction elimination
  • Cost-based code extraction for optimal performance

๐Ÿš€ Multi-Backend Code Generation

  • CLR (.NET MSIL)
  • WebAssembly (browser-compatible)
  • Native (x86_64, ARM)
  • JVM (Java bytecode)
  • GPU (CUDA, SPIR-V, MSL)

๐Ÿ”„ Unified Runtime

  • Shared garbage collector (non-moving incremental)
  • JIT compiler with tiered compilation
  • AOT compiler for native performance
  • Async runtime with effect handlers

๐Ÿ”— Cross-Language Interop

  • Zero serialization overhead between languages
  • Shared memory model
  • Unified type system

๐Ÿ“ฆ Getting Started

Installation

# Add Nyar to your project
dotnet add package Nyar

# For TypeScript support
dotnet add package Nyar.TypeScript

# For Rust support
dotnet add package Nyar.Rust

Basic Usage

TypeScript Example
// hello.ts
async function greet(name: string): Promise<string> {
  return `Hello, ${name}!`;
}

console.log(await greet("World"));
Rust Example
// main.rs
fn main() {
    println!("Hello, World!");
}

Compilation

# Compile TypeScript to CLR
yar compile --target clr hello.ts

# Compile Rust to native
yar compile --target native main.rs

๐Ÿ› ๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     Nyar Platform                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚  Language   โ”‚     โ”‚  Core IR    โ”‚     โ”‚  CodeGen    โ”‚ โ”‚
โ”‚  โ”‚  Frontends  โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  & Optimizerโ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  & Backends โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚                                                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚                  Runtime                           โ”‚  โ”‚
โ”‚  โ”‚  VM + GC + JIT + AOT + FFI + AsyncRuntime          โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚                                                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“– Documentation

๐Ÿค Contributing

We welcome contributions from the community! Please see our contributing guidelines for more information.

๐Ÿ“„ License

Nyar is released under the MIT License. See the LICENSE file for details.

๐Ÿ“ž Support

๐Ÿ“Š Performance

Nyar's advanced optimization pipeline delivers exceptional performance:

  • 3x faster than V8 interpreter
  • Near-native performance with JIT compilation
  • 10x faster็ƒญ็‚นๅ‡ฝๆ•ฐ with tiered compilation
  • Minimal GC pauses (< 10ms)

๐Ÿ”ฎ Roadmap

  • v0.1.0: Core infrastructure
  • v0.2.0: IR optimizer and VM
  • v0.3.0: Language frontends
  • v0.4.0: Multi-backend support
  • v0.5.0: Advanced features (JIT, LSP, interop)
  • v1.0.0: Production ready

๐ŸŽ‰ Why Nyar?

  • Unified: Single platform for multiple languages
  • Performant: Advanced optimization techniques
  • Flexible: Multiple backends for different targets
  • Seamless: Zero-overhead cross-language interop
  • Future-proof: Designed for modern language features

Nyar - Bridging languages, empowering developers.

Visit our organization page for more information!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0 95 4/18/2026

Initial release of Nyar unified platform.