{"repo":"marcj/TypeRunner","free":true,"listed":false,"github":"https://github.com/marcj/TypeRunner","clone":"git clone https://github.com/marcj/TypeRunner.git","description":"High-performance TypeScript compiler","language":"C++","stars":2658,"topics":["performance","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"TypeRunner High-performance TypeScript compiler. Goals - Parser - Type checking (as CLI and as library) - Language Server - Interactive type debugging - Type information in other languages - (optional) transpiling to JavaScript - (optional) RTTI in JavaScript - (optional) type profiler Additionally, making TypeScript type checking as fast as possible and providing a native library for other languages so they can use TypeScript type information without the need for a JavaScript engine enables all sorts of use cases like JSON-Schema replacement, ORM DSL, encoding information (like Protocol Buffers schema) and more. Non-goals - Drop-in replacement for the official TypeScript compiler - Runtime Being a drop-in replacement for the entire official TypeScript compiler (tsc) would require copying design limitations, bugs, and legacy decisions of tsc. Because of TypeScript's 10-year history there are many features that are unnecessary today but kept for compatibility. We focus on a stricter subset of TypeScript, which means TypeRunner won't support some features such as JSDoc and several compiler options. Status The source code in the initial version is really only a proof of concept. It consists of roughly 30k LoC and shows very promising results. The approach is to use a TypeScript-to-bytecode compiler and then to run the bytecode in a custom virtual machine. The data show that this approach can lead to a hundred- to several-thousand-fold improvement in speed. Once the project gets ","default_branch":null,"files":null,"tree":[],"storefront":"/r/marcj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marcj/TypeRunner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}