2 रिपॉजिटरी
Generating parser source code for multiple target programming languages from a single grammar.
Distinct from Formal Grammar Parser Generators: Distinct from Formal Grammar Parser Generators: specifically targets the ability to produce code for multiple target languages.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Multi-Target Code Generation. Refine with filters or upvote what's useful.
ANTLR एक व्याकरण-आधारित कोड जनरेटर और मल्टी-लैंग्वेज पार्सर जनरेटर है जिसका उपयोग कस्टम भाषाओं को डिज़ाइन और कार्यान्वित करने के लिए किया जाता है। यह संरचित टेक्स्ट या बाइनरी फ़ाइलों को संसाधित करने के लिए औपचारिक भाषा परिभाषाओं को निष्पादन योग्य स्रोत कोड में बदलने के लिए एक टूलकिट के रूप में कार्य करता है, जबकि पदानुक्रमित पार्स ट्री को स्वचालित रूप से बनाने और पार करने के लिए एक फ्रेमवर्क प्रदान करता है। प्रोजेक्ट एक एकल साझा व्याकरण परिभाषा से विभिन्न लक्षित प्रोग्रामिंग भाषाओं में लेक्सर्स और पार्सर्स उत्पन्न करने की अपनी क्षमता द्वारा प्रतिष्ठित है। यह प्रत्यक्ष बाएं पुनरावृत्ति (left recursion) वाले व्याकरणों का समर्थन करता है और लचीलापन बनाए रखते हुए पार्सिंग गति को अनुकूलित करने के लिए अनुकूली भविष्यवाणी का उपयोग करता है। सिस्टम लेक्सिकल विश्लेषण, प्रेडिकेट मूल्यांकन के माध्यम से सिमेंटिक जांच, और पदानुक्रमित डेटा प्रबंधन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह व्याकरण लॉजिक को एप्लिकेशन कार्यों से अलग करने के लिए पाथ-आधारित क्वेरी और विज़िटर-लिसनर ट्रैवर्सल पैटर्न के माध्यम से पार्स ट्री विश्लेषण के लिए टूल प्रदान करता है। कमांड-लाइन यूटिलिटी व्याकरण परिभाषाओं और डीबगिंग लॉजिक का परीक्षण करने के लिए उपलब्ध हैं, और टूल को स्थानीय इंस्टॉलेशन से बचने के लिए Docker कंटेनरों के भीतर निष्पादित किया जा सकता है।
Produces lexer and parser source code for multiple target programming languages from a single shared grammar.
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
A feature that translates a domain-specific language into executable code for other target environments such as Go or Rust.