9 रिपॉजिटरी
Tools that translate high-level logic entirely into C source code.
Distinct from Inline C Code Embeddings: Distinct from Inline C Code Embeddings: generates full source files rather than just embedding snippets.
Explore 9 awesome GitHub repositories matching programming languages & runtimes · C Code Generators. Refine with filters or upvote what's useful.
This project is a keyboard firmware framework and programmable keyboard ecosystem designed for Atmel AVR and ARM microcontrollers. It provides the embedded software necessary to implement the USB Human Interface Device standard, allowing hardware to communicate keystrokes and mouse movements to a host computer. The framework distinguishes itself by offering a comprehensive toolchain for custom hardware development, including a command line interface for project scaffolding, firmware flashing, and configuration linting. It supports a variety of flexible configuration methods, allowing users to
Converts structured JSON configuration files into C source code to automate firmware builds.
cppfront is a C++ language extension frontend and source-to-source translator. It functions as a syntax transformer that converts experimental language extensions into standard compliant C++ code, allowing for the prototyping of new language features within existing build systems. The project provides a translation layer that adds support for pattern matching, contracts, and string interpolation. It includes a metaprogramming tool for compile-time reflection and automated code generation using specialized metafunctions. The system automates several development tasks, including the resolution
Implements a system for compile-time reflection and automated code generation using specialized C++ metafunctions.
Nanopb, रिसोर्स-सीमित सिस्टम्स और माइक्रोकंट्रोलर्स के लिए डिज़ाइन किए गए Protocol Buffers का एक हल्का C इम्प्लीमेंटेशन है। यह संरचित डेटा को एनकोड और डिकोड करने के लिए एक एम्बेडेड सीरियलाइजेशन लाइब्रेरी और एक कोड जेनरेटर दोनों के रूप में कार्य करता है जो परिभाषा फाइल्स को कॉम्पैक्ट C सोर्स और हेडर फाइल्स में बदल देता है। यह प्रोजेक्ट स्टैटिक मेमोरी एलोकेशन पर अपने फोकस के लिए प्रतिष्ठित है, जो डायनामिक मेमोरी एलोकेशन और हीप फ्रैगमेंटेशन से बचने के लिए स्ट्रिंग्स और एरेज़ के लिए फिक्स्ड अधिकतम साइज़ का उपयोग करता है। यह उपलब्ध फिजिकल RAM से अधिक संदेशों या फील्ड्स को प्रोसेस करने के लिए एक कॉलबैक-आधारित स्ट्रीमिंग तंत्र का उपयोग करता है, जिससे सिस्टम मेमोरी को समाप्त किए बिना वेरिएबल-लेंथ डेटा को संभालना संभव हो जाता है। यह लाइब्रेरी बाइनरी सीरियलाइजेशन के लिए व्यापक क्षमताएं प्रदान करती है, जिसमें एनकोडेड साइज़ गणना, सबमेसेज प्रेजेंस ट्रैकिंग और ट्रांसपोर्ट-लेवल फ्रेमिंग शामिल है। इसमें फील्ड इटरेशन, UTF-8 स्ट्रिंग वैलिडेशन और अविश्वसनीय बाइनरी इनपुट को पार्स करते समय मेमोरी सुरक्षा सुनिश्चित करने के लिए सख्त बाउंड्स प्रवर्तन के लिए रिफ्लेक्शन यूटिलिटीज भी शामिल हैं।
Translates Protocol Buffer definition files into compact C source and header files for embedded firmware.
Wuffs is a toolset for generating memory-safe, sandboxed parsers and decoders from domain-specific language specifications. It functions as a compiler that transforms these specifications into executable code for C, Go, or Rust, specifically designed to decode untrusted file formats while preventing buffer and integer overflows. The project employs a sandboxed execution model that prohibits system calls and manual memory management to ensure computations are side-effect free. It utilizes a refined type system and compile-time constraint verification to enforce memory safety, alongside saturat
Translates a domain-specific language into C source code to generate memory-safe parsing libraries.
AITemplate एक अहेड-ऑफ़-टाइम डीप लर्निंग कंपाइलर है जो PyTorch न्यूरल नेटवर्क को स्टैंडअलोन C++ सोर्स कोड में अनुवादित करता है। यह PyTorch-टू-C++ कंपाइलर और GPU कर्नल फ़्यूज़न इंजन के रूप में कार्य करता है, जो Python इंटरप्रेटर या डीप लर्निंग फ्रेमवर्क रनटाइम की आवश्यकता के बिना इन्फ़्रेंस चलाने वाले स्व-निहित निष्पादन योग्य बाइनरीज़ का उत्पादन करता है। यह प्रोजेक्ट विशेष रूप से NVIDIA TensorCores और AMD MatrixCores के लिए अनुकूलित CUDA और HIP C++ कोड उत्पन्न करता है। यह एक ऐसे सिस्टम के माध्यम से हाफ-प्रिसिजन फ़्लोटिंग-पॉइंट ऑपरेशंस के लिए थ्रूपुट को अधिकतम करने पर केंद्रित है जो मेमोरी ओवरहेड और विलंबता को कम करने के लिए कई न्यूरल नेटवर्क ऑपरेटरों को एकल GPU कर्नल्स में जोड़ता है। टूलसेट GPU इन्फ़्रेंस त्वरण और उच्च प्रदर्शन कंप्यूटिंग को कवर करता है, जो कस्टम GPU ऑपरेटर विकास और हार्डवेयर-विशिष्ट टेम्प्लेट के लिए ग्राफ़ नोड्स की मैपिंग के लिए क्षमताएं प्रदान करता है। इसमें इन्फ़्रेंस प्रदर्शन को बेंचमार्क करने और मॉडल ऑप्टिमाइज़ेशन को विज़ुअलाइज़ करने के लिए यूटिलिटी सपोर्ट शामिल है।
Translates neural network computation graphs into standalone C++ source code to remove framework runtime dependencies.
Koka एक स्टेटिकली टाइप्ड फंक्शनल प्रोग्रामिंग भाषा है जिसमें एक अलजेब्रिक इफेक्ट सिस्टम है। यह प्रोग्राम की शुद्धता को सत्यापित करने और कंपाइल टाइम पर साइड इफेक्ट्स को ट्रैक करने के लिए एक मजबूत टाइप सिस्टम का उपयोग करती है। यह भाषा एक रेफरेंस काउंटिंग कंपाइलर द्वारा प्रतिष्ठित है जो सोर्स कोड को नेटिव C कोड में बदल देता है, जिससे ट्रेसिंग गारबेज कलेक्टर की आवश्यकता समाप्त हो जाती है। यह मेमोरी ओवरहेड को कम करने के लिए परसीव-आधारित इन-प्लेस अपडेट्स का उपयोग करती है और कांस्टेंट-स्पेस डेटा स्ट्रक्चर निर्माण के लिए टेल रिकर्सन मॉड्यूलो कॉन्स (tail recursion modulo cons) का उपयोग करती है। यह सिस्टम आर्बिट्रेरी प्रिसिजन अरिथमेटिक के साथ न्यूमेरिक ऑपरेशन्स, कुशल व्यूज के साथ स्ट्रिंग प्रोसेसिंग, और अनंत संरचनाओं के लिए को-इंडक्टिव डेटा मॉडलिंग को कवर करने वाली एक व्यापक मानक लाइब्रेरी प्रदान करती है। इसमें हार्डवेयर-सैंपलिंग एक्जीक्यूशन प्रोफाइलिंग के लिए इन-बिल्ट सपोर्ट और एक्सेप्शन्स व एसिंक्रोनस फ्लोस को संभालने के लिए एक कंपोजेबल तंत्र भी शामिल है।
Transforms source language constructs into optimized C code for native execution.
Zen-C is a multi-target systems language and source-to-source compiler that translates high-level logic into human-readable GNU C or C11 code. It functions as a JIT-enabled programming language with an in-process compiler for real-time interactive code evaluation and testing. The project serves as a CUDA GPU kernel generator, mapping specialized syntax to CUDA C++ using device attributes to target graphics hardware. It acts as an interoperability layer capable of emitting compatible code for C++, Objective-C, and Lisp to bridge native system frameworks and libraries. The language includes an
Converts high-level logic into human-readable GNU C or C11 code.
This project is a collection of operating systems courseware and educational programming exercises designed for studying operating system design and implementation. It provides a set of concept simulators for modeling CPU scheduling, memory virtualization, and concurrency mechanisms. The project includes specialized tools such as a concurrency simulation lab for experimenting with synchronization, a file system modeling suite for studying disk persistence and RAID configurations, and a process tree visualizer for displaying parent-child relationship hierarchies. The software covers broader c
Generates C source code to illustrate the execution flow and process management of forking programs.
Taco is a sparse tensor algebra compiler that translates high-level tensor index expressions into optimized machine code. It functions as a numerical code generator, producing specialized C kernels designed to execute complex multidimensional array operations efficiently on both CPU and GPU hardware. The project distinguishes itself by allowing users to define custom tensor storage layouts by composing dimension-level formats, such as dense or compressed structures, to match the specific sparsity patterns of their datasets. By analyzing the mathematical structure of tensor operations at compi
Generates specialized C kernels from high-level tensor index expressions to accelerate numerical data processing on CPUs and GPUs.