2 रिपॉजिटरी
Compiles newer JS features such as optional chaining, nullish coalescing, class fields, and numeric separators to older syntax for broader runtime compatibility.
Distinct from Modern Syntax: Distinct from Modern Syntax: focuses on compiling modern syntax down to older syntax, not just defining modern features.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Downlevel Compilers. Refine with filters or upvote what's useful.
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
Compiles newer JS features such as optional chaining, nullish coalescing, class fields, and numeric separators to older syntax.
यह प्रोजेक्ट TypeScript भाषा के लिए एक व्यापक गाइड और शैक्षिक संसाधन है। यह भाषा के मूलभूत सिद्धांतों को कवर करता है, जिसमें इसका स्ट्रक्चरल टाइप सिस्टम, स्टेटिक टाइप विश्लेषण और टाइप्ड सोर्स फाइलों को JavaScript में ट्रांसपाइल करने की प्रक्रिया शामिल है। सामग्री विस्तार से बताती है कि जेनेरिक्स, कंडीशनल टाइप्स और मैप्ड टाइप्स का उपयोग करके जटिल डेटा और पुन: प्रयोज्य टाइप लॉजिक को कैसे मॉडल किया जाए। यह बाहरी JavaScript लाइब्रेरी के लिए टाइप सेफ्टी प्रदान करने के लिए डिक्लेरेशन फाइलों के उपयोग और JSDoc एनोटेशन के माध्यम से मौजूदा JavaScript प्रोजेक्ट्स में टाइप चेकिंग के एकीकरण की भी व्याख्या करती है। सामग्री का दायरा ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग पैटर्न, DOM हेरफेर और कंपाइलर व्यवहार के कॉन्फ़िगरेशन तक फैला हुआ है। इसमें मॉड्यूल इंटरऑपरेबिलिटी को प्रबंधित करने, बिल्ड पाइपलाइन सेट करने और बेहतर डेवलपर उत्पादकता के लिए एडिटर इंटेलिजेंस का उपयोग करने पर मार्गदर्शन शामिल है।
Explains the process of rewriting modern language features into older JavaScript versions for legacy environment support.