8 रिपॉजिटरी
Tools that translate source code from one high-level programming language to another to optimize performance or portability.
Distinct from Static Binary Translation: The feature is source-to-source transpilation (PHP to C++), not binary translation or static analysis.
Explore 8 awesome GitHub repositories matching programming languages & runtimes · Source-to-Source Compilers. Refine with filters or upvote what's useful.
kphp-kdb एक NoSQL डेटाबेस इंजन और PHP एक्सटेंशन है जिसे हाई-थ्रूपुट रीड और राइट ऑपरेशंस के लिए डिज़ाइन किया गया है। यह सीधे PHP रनटाइम में एकीकृत एक पर्सिस्टेंस लेयर के रूप में कार्य करता है, जो हाई-लोड वातावरण के लिए एक नॉन-रिलेशनल स्टोरेज सिस्टम प्रदान करता है। इस प्रोजेक्ट में एक कंपाइलर शामिल है जो डायनामिक PHP सोर्स कोड को स्टेटिकली टाइप्ड C++ कोड में अनुवादित करता है। यह प्रक्रिया नेटिव निष्पादन गति और कम संसाधन खपत प्राप्त करने के लिए रनटाइम इंटरप्रिटेशन ओवरहेड को समाप्त करती है। यह सिस्टम नेटिव C++ बाइंडिंग्स और एक स्कीमा-लेस स्टोरेज इंजन का लाभ उठाता है ताकि कम-लेटेंसी डेटा एक्सेस सुनिश्चित हो सके।
Translates dynamic PHP source code into statically typed C++ to eliminate runtime interpretation overhead.
j2objc एक सोर्स-टू-सोर्स कंपाइलर और ट्रांसपाइलर है जो Java सोर्स कोड को Objective-C में परिवर्तित करता है। यह एक क्रॉस-प्लेटफ़ॉर्म लॉजिक पोर्टर के रूप में कार्य करता है, जो Java में लिखे गए एप्लिकेशन लॉजिक और डेटा मॉडल्स को iOS पर साझा और निष्पादित करने की अनुमति देता है। इस अनुवाद को सपोर्ट करने के लिए, यह प्रोजेक्ट Java रनटाइम वातावरण का अनुकरण करने के लिए मुख्य Java क्लासेस और APIs का एक Objective-C कार्यान्वयन प्रदान करता है। यह सिस्टम Java लाइब्रेरीज़ के लिए विशेष अनुवाद शामिल करता है और मेटाडेटा को संरक्षित करने के लिए डिपेंडेंसी इंजेक्शन और स्टेटिक एनालिसिस एनोटेशन के लिए मैपिंग प्रदान करता है।
Translates Java source code directly into Objective-C syntax to allow logic sharing across platforms.
Scala.js एक कंपाइलर और क्रॉस-प्लेटफॉर्म भाषा टूलचेन है जो Scala सोर्स कोड को JavaScript या WebAssembly में बदलता है। यह JavaScript इकोसिस्टम के लिए एक स्टेटिकली टाइप्ड टूल के रूप में कार्य करता है, जो वेब ब्राउज़र और Node.js वातावरण के लिए एप्लिकेशन्स के विकास को सक्षम बनाता है। यह प्रोजेक्ट एक JavaScript इंटरऑप फ्रेमवर्क के रूप में कार्य करता है, जो बाहरी लाइब्रेरीज़ और ग्लोबल ऑब्जेक्ट्स के साथ इंटरैक्ट करने के लिए टाइप-सेफ फेसेड्स और बाइंडिंग्स बनाने की अनुमति देता है। यह स्टेटिक और डायनामिक JavaScript इनवोकेशन दोनों के लिए मैकेनिज्म प्रदान करता है, जिसमें TypeScript बाइंडिंग्स का जनरेशन और बाहरी JavaScript कोड में उपयोग के लिए इंटरनल लॉजिक को एक्सपोर्ट करने की क्षमता शामिल है। टूलचेन में प्रोडक्शन बंडलिंग और आउटपुट ऑप्टिमाइज़ेशन के लिए एक फ्रंटएंड बिल्ड टूल शामिल है, जिसमें डेड कोड एलिमिनेशन और मॉड्यूल स्प्लिटिंग शामिल है। यह UI डेवलपमेंट के लिए DOM एलिमेंट टाइप चेकिंग, फुल-स्टैक डेवलपमेंट के लिए क्रॉस-प्लेटफॉर्म कोड शेयरिंग, और ऑप्टिमाइज़्ड बिल्ड आर्टिफैक्ट्स को सत्यापित करने के लिए विभिन्न टेस्टिंग फ्रेमवर्क्स सहित व्यापक क्षमताएं कवर करता है। संकलित (compiled) स्क्रिप्ट्स को JavaScript इंटरप्रेटर का उपयोग करके सीधे कमांड-लाइन वातावरण के भीतर निष्पादित किया जा सकता है।
Transforms Scala source code into JavaScript or WebAssembly binaries while preserving original language semantics.
HIP is a C++ GPU kernel language and cross-platform runtime designed for writing portable high-performance compute applications. It provides a programming interface that allows a single source codebase to execute on both AMD and NVIDIA GPU architectures. The project functions as a compatibility layer that enables the conversion and migration of existing CUDA source code to run on AMD hardware. This is achieved through a syntax mapping that mirrors CUDA and a source-to-source translation process during compilation. The toolkit covers the broader surface of cross-platform GPGPU development, in
Translates a shared C++ dialect into platform-specific GPU code during the compilation phase.
Coconut एक फंक्शनल प्रोग्रामिंग भाषा है जो Python में कंपाइल होती है। यह एक सोर्स-टू-सोर्स कंपाइलर के रूप में कार्य करती है, जो रनटाइम संगतता बनाए रखने के लिए उच्च-स्तरीय फंक्शनल सिंटैक्स को संगत Python कोड में अनुवादित करती है। यह भाषा पैटर्न मैचिंग और जटिल डेटा संरचनाओं को नष्ट करने (destructuring) के लिए एक लॉजिक सिस्टम पेश करती है। यह गहरे रिकर्सिव फंक्शन कॉल के दौरान स्टैक ओवरफ्लो त्रुटियों को रोकने के लिए टेल कॉल ऑप्टिमाइज़ेशन के लिए एक तंत्र प्रदान करती है और परिणामों की स्पष्ट रूप से आवश्यकता होने तक गणनाओं को स्थगित करने के लिए एक लेज़ी इवैल्यूएशन इंजन का उपयोग करती है। यह प्रोजेक्ट बीजगणितीय डेटा प्रकारों, पाइपलाइन ऑपरेटरों और आंशिक अनुप्रयोग (partial application) के लिए समर्थन शामिल करता है। यह कई CPU कोर पर मैपिंग ऑपरेशनों को वितरित करके समानांतर डेटा प्रोसेसिंग के लिए एक फ्रेमवर्क भी प्रदान करता है।
Translates high-level functional syntax into Python source code to maintain runtime compatibility.
SourceCodeSyntaxHighlight is a syntax highlighting engine and version control visualizer. It functions as a source code syntax highlighter that applies color schemes and formatting to programming languages for visual display, and as a tool for highlighting code changes and diffs relative to version control commits. The project is implemented as a macOS Quick Look extension that provides syntax-highlighted previews of source code files within the Finder. It also includes a Language Server Protocol client to provide semantic tokens and hover information during code previews, and a command line
Supports the use of custom scripts to transform source data prior to syntax highlighting.
Symbolics.jl is a foundational framework for symbolic mathematics, automated differentiation, and scientific compilation within the Julia programming language. It provides a comprehensive system for algebraic manipulation, expression simplification, and the construction of mathematical models, enabling users to represent complex physical and chemical systems as symbolic equations. The library distinguishes itself through a source-to-source compilation engine that translates high-level symbolic representations directly into optimized, parallelized, and hardware-specific numerical code. By util
Translates high-level symbolic representations directly into optimized machine-executable code to bridge the gap between mathematical modeling and numerical performance.
Tamzen is a collection of fixed-width, bitmapped typefaces designed for terminal emulators and programming environments. The project provides pixel-perfect character designs that prioritize legibility by bypassing vector-based scaling and subpixel antialiasing in favor of direct pixel-grid rasterization. These fonts maintain consistent vertical and horizontal alignment by forcing every glyph into a uniform container, ensuring clarity in high-contrast display environments. The collection is optimized for use in command-line interfaces, text editors, and virtual consoles where precise character
Transforms human-readable font source definitions into machine-ready binary formats compatible with various operating system font rendering engines.