13 रिपॉजिटरी
Compilers that translate high-level source code into executable JavaScript.
Distinct from JavaScript Interop: The candidates focus on interop or in-memory compilation rather than the core compiler output target.
Explore 13 awesome GitHub repositories matching programming languages & runtimes · JavaScript Compilers. Refine with filters or upvote what's useful.
This project is a technical handbook and tutorial guide for the Babel compiler. It serves as a resource for configuring the tool and writing custom plugins to transform JavaScript source code. The guide provides instructional material on creating custom transformation plugins and modifying the compilation process. It specifically covers how to navigate and modify abstract syntax trees to programmatically rewrite source code. The documentation covers the mechanics of code transformation, the management of compiler configurations, and the fundamentals of compiler tooling. It includes guidance
Explains the mechanics of code transformation and compilation for different target environments.
The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.
Documents how TypeScript compiles modern ES6 and ES7 syntax into compatible JavaScript.
PureScript is a statically typed, purely functional programming language that compiles to JavaScript. It is designed as a cross-platform frontend language for building safe web applications, utilizing a static type system and a JavaScript compiler to ensure program correctness across browser and server environments. The language is distinguished by its emphasis on mathematical purity, featuring a robust type system with first-class support for monads. It provides a sophisticated toolset for static verification, including algebraic data types, type classes, and automatic type inference to reje
Translates strongly typed functional code into compatible JavaScript for execution in browsers and servers.
Traceur is a JavaScript syntax transpiler that transforms modern and next-generation language features into compatible versions for older runtime environments. It functions as a compiler that translates proposed language standards and upcoming syntax into current versions to maintain cross-engine compatibility. The project operates as an asynchronous code transformer, converting async functions and generators into promise-based state machines. It includes a functional tail-call optimizer that wraps recursive functions in trampolines to prevent stack overflows and an ECMAScript polyfill engine
Compiles modern JavaScript syntax into versions compatible with older runtime environments.
This project is a comprehensive functional programming curriculum and learning resource for Haskell. It provides sequenced educational paths and technical reference guides designed to take developers from beginner to advanced levels of proficiency. The project distinguishes itself through a deep focus on theoretical and technical foundations, offering detailed studies on type theory, category theory, and runtime internals. It includes a dedicated performance handbook for optimizing execution speed and memory management, as well as an ecosystem guide for managing development tools and editor c
Includes materials on translating Haskell code into executable JavaScript for frontend development.
This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed language into optimized JavaScript for web browsers. It serves as a frontend architecture framework, providing a static type system and a package manager that enforces semantic versioning. The compiler uses a type-checking engine with automatic type inference to prevent runtime errors and guide code refactoring. It implements a structural pattern for managing application state and rendering user interfaces through a virtual DOM, utilizing immutable data and purity-based state transit
Transforms a high-level functional language into optimized, executable JavaScript bundles for the web.
ReScript is a statically typed programming language and compiler designed to transform type-safe source code into efficient, human-readable JavaScript. It functions as a transpiler that enforces data consistency and prevents runtime errors through static type analysis for both web and server applications. The project distinguishes itself as an incremental build system that analyzes dependency graphs to recompile only modified files and their dependents. It includes a JSX compatible compiler for building user interfaces and provides a framework for bridging type-safe code with existing JavaScr
Translates a statically typed high-level language into efficient and human-readable JavaScript.
Sucrase is a high-speed transpilation tool that compiles modern JavaScript, TypeScript, JSX, and Flow to standard JavaScript for modern runtimes. It operates as a fast alternative to Babel, using a single-pass scanner and tokenizer that strips type annotations and applies only requested syntax transforms without building an AST or performing type checking. The tool differentiates itself through a zero-type-checking pipeline that omits type checking entirely, relying on the assumption that input code is already valid for the target runtime. It uses scanner-based tokenization and single-pass co
Removes Flow type annotations and compiles the remaining code to standard JavaScript that runs without a type checker.
Webpacker is a frontend build tooling system and JavaScript module manager that integrates Webpack into Ruby on Rails applications. It serves as a bridge between the backend web framework and the frontend build process to compile JavaScript and CSS into browser-ready bundles. The system provides a dedicated development asset server for real-time code reloading and automatic browser refreshing. For production, it includes a precompilation pipeline that minifies scripts and stylesheets and applies network asset compression to optimize delivery. The project covers comprehensive asset management
Transforms modern JavaScript and script languages into browser-compatible bundles using a compilation tool.
यह प्रोजेक्ट TypeScript भाषा के लिए एक व्यापक गाइड और शैक्षिक संसाधन है। यह भाषा के मूलभूत सिद्धांतों को कवर करता है, जिसमें इसका स्ट्रक्चरल टाइप सिस्टम, स्टेटिक टाइप विश्लेषण और टाइप्ड सोर्स फाइलों को JavaScript में ट्रांसपाइल करने की प्रक्रिया शामिल है। सामग्री विस्तार से बताती है कि जेनेरिक्स, कंडीशनल टाइप्स और मैप्ड टाइप्स का उपयोग करके जटिल डेटा और पुन: प्रयोज्य टाइप लॉजिक को कैसे मॉडल किया जाए। यह बाहरी JavaScript लाइब्रेरी के लिए टाइप सेफ्टी प्रदान करने के लिए डिक्लेरेशन फाइलों के उपयोग और JSDoc एनोटेशन के माध्यम से मौजूदा JavaScript प्रोजेक्ट्स में टाइप चेकिंग के एकीकरण की भी व्याख्या करती है। सामग्री का दायरा ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग पैटर्न, DOM हेरफेर और कंपाइलर व्यवहार के कॉन्फ़िगरेशन तक फैला हुआ है। इसमें मॉड्यूल इंटरऑपरेबिलिटी को प्रबंधित करने, बिल्ड पाइपलाइन सेट करने और बेहतर डेवलपर उत्पादकता के लिए एडिटर इंटेलिजेंस का उपयोग करने पर मार्गदर्शन शामिल है।
Transforms high-level typed source code into executable JavaScript.
Scala.js एक कंपाइलर और क्रॉस-प्लेटफॉर्म भाषा टूलचेन है जो Scala सोर्स कोड को JavaScript या WebAssembly में बदलता है। यह JavaScript इकोसिस्टम के लिए एक स्टेटिकली टाइप्ड टूल के रूप में कार्य करता है, जो वेब ब्राउज़र और Node.js वातावरण के लिए एप्लिकेशन्स के विकास को सक्षम बनाता है। यह प्रोजेक्ट एक JavaScript इंटरऑप फ्रेमवर्क के रूप में कार्य करता है, जो बाहरी लाइब्रेरीज़ और ग्लोबल ऑब्जेक्ट्स के साथ इंटरैक्ट करने के लिए टाइप-सेफ फेसेड्स और बाइंडिंग्स बनाने की अनुमति देता है। यह स्टेटिक और डायनामिक JavaScript इनवोकेशन दोनों के लिए मैकेनिज्म प्रदान करता है, जिसमें TypeScript बाइंडिंग्स का जनरेशन और बाहरी JavaScript कोड में उपयोग के लिए इंटरनल लॉजिक को एक्सपोर्ट करने की क्षमता शामिल है। टूलचेन में प्रोडक्शन बंडलिंग और आउटपुट ऑप्टिमाइज़ेशन के लिए एक फ्रंटएंड बिल्ड टूल शामिल है, जिसमें डेड कोड एलिमिनेशन और मॉड्यूल स्प्लिटिंग शामिल है। यह UI डेवलपमेंट के लिए DOM एलिमेंट टाइप चेकिंग, फुल-स्टैक डेवलपमेंट के लिए क्रॉस-प्लेटफॉर्म कोड शेयरिंग, और ऑप्टिमाइज़्ड बिल्ड आर्टिफैक्ट्स को सत्यापित करने के लिए विभिन्न टेस्टिंग फ्रेमवर्क्स सहित व्यापक क्षमताएं कवर करता है। संकलित (compiled) स्क्रिप्ट्स को JavaScript इंटरप्रेटर का उपयोग करके सीधे कमांड-लाइन वातावरण के भीतर निष्पादित किया जा सकता है।
Transforms Scala source code into executable JavaScript for use in web browsers or server environments.
Sweet-core is a JavaScript source-to-source compiler and Lisp-style macro system. It functions as a syntax transformer that extends JavaScript by allowing the definition of custom syntax and operators during the compilation process. The system provides a framework for building domain-specific languages through hygienic, recursive macro expansion and the creation of new language constructs. It distinguishes itself by supporting custom operator definitions with configurable associativity and precedence to control expression evaluation. The compiler includes a specialized module system for mana
Functions as a JavaScript macro compiler that extends the language with custom syntax and operators during compilation.
next-mdx-remote is a rendering library for Next.js that serializes and renders MDX content from remote sources. It functions as a secure MDX compiler and remote content serializer, transforming MDX strings from external APIs or databases into a format compatible with client-side hydration. The library distinguishes itself through a secure compilation process that restricts JavaScript execution and global variable access to prevent remote code execution. It utilizes a custom component mapper to replace standard HTML elements in markdown with specific React components, allowing for dynamic cont
Implements a secure MDX compiler that restricts JavaScript execution to prevent remote code execution vulnerabilities.