ratel 0.2.3

JavaScript transpiler in Rust
Documentation

ratel-core

JavaScript compiler core written in Rust.

Because Webpack+Babel+UglifyJS are both awesome and terrible at the same time.

Requirements

  • Rust 1.8.0

Usage

To print out the compiled code to stdout:

$ cargo run -- -f input.js

To compile to a file:

$ cargo run -- -f input.js -o output.js

Performance

Parser part of ratel is doing exceptionally well when compared to even the fastest parsers built in JavaScript, such as Esprima.

ratel vs esprima chart