Show HN: Oxidase – Transpiles TypeScript at the Speed of Parsing

Hi HN,

Oxidase is my experiment to build a TypeScript transpiler that works like ts-blank-space[0] and Node.js' built-in type stripping[1], but also supports enums and namespaces.

I've tried some optimizations on it and am surprised to find that it's now as fast as oxc, the TypeScript parser it's based on. Check the link for the benchmark results and details on how I make this possible if you are interested.

The name pays homage to oxc (same prefix) and sucrase[2] (name for another type of enzyme), where I borrowed the idea of no AST allocation optimization.

[0] https://bloomberg.github.io/ts-blank-space/

[1] https://nodejs.org/docs/v23.7.0/api/typescript.html#type-str...

[2] https://sucrase.io/

5 points branchseer 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton