Skip to content

yuku-toolchain/yuku

Repository files navigation

Logo

NPM Version sponsor

Yuku is a high-performance JavaScript and TypeScript compiler toolchain written in Zig. Spec-compliant, zero dependencies, fast by design.

Try it in the playground →

📖 Documentation

Visit yuku.fyi for the full documentation, guides, and API reference.

Parser

JavaScript

npm install yuku-parser
import { parse } from "yuku-parser";

const { program, comments, diagnostics } = parse("const x = 1 + 2;");

Outputs an ESTree / TS-ESTree-compatible AST matching Oxc. Runs 4-16x faster than alternatives on npm.

Zig

zig fetch --save git+https://github.com/yuku-toolchain/yuku.git
var tree = try parser.parse(allocator, "const x = 5;", .{});
defer tree.deinit();

Read the parser documentation →

Performance

Yuku prioritizes correctness while delivering top-tier speed and efficiency.

🤝 Contributing

See CONTRIBUTING.md for setup, testing, and playground instructions.

⚖️ License

Yuku is free and open-source software licensed under the MIT License.

About

High-performance JavaScript/TypeScript compiler toolchain in Zig.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors