Back to directory

TypeScript Native Compiler

A native ahead-of-time and JIT compiler for TypeScript built on LLVM and MLIR, compiling .ts files to native executables, WebAssembly, or running them directly through a built-in JIT without Node.js.

TypeScript Native Compiler

TypeScript Native Compiler is an ahead-of-time and just-in-time compiler for TypeScript, built on LLVM and MLIR. It compiles .ts files directly to native executables or WebAssembly, or runs them immediately through a built-in JIT, without needing Node.js or any JavaScript runtime.

It supports a substantial subset of TypeScript's type system, including strict null checks, template literal types, public, private, and protected class members, generating a class from a tuple, and compile-time type-narrowing conditionals. It can scaffold a new project for Visual Studio Code or as a CMake project with the compiler registered as a first-class CMake language, and it can generate debug information for use with GDB.

It is written in C++ and distributed under the MIT license.

More in Languages

See all 48
  • QBasic Web Editor

    vahidyousefzadeh.com

    A browser-based QBasic 1.1 editor and interpreter that runs classic QBasic programs with DOSBox-accurate behavior, including text-mode graphics commands such as PRINT, COLOR and LOCATE, with sample programs and keyboard shortcuts to run and save.

  • A Brainfuck-inspired esoteric programming language adding absolute memory navigation, multiplier arithmetic, non-destructive inspection and inline conditionals, with its own interpreter.

  • C3 Playground

    play.c3-lang.org

    An in-browser playground that compiles and runs the C3 programming language entirely in WebAssembly, with no backend server, alongside its standard library and documentation.