5 रिपॉजिटरी
Type-level manipulation of string literals, including casing transformations and trimming.
Distinct from String Literal Validations: Existing candidates focus on raw literals or obfuscation, not the functional processing of string literal types.
Explore 5 awesome GitHub repositories matching programming languages & runtimes · String Literal Processing. Refine with filters or upvote what's useful.
type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu
Provides comprehensive string literal processing for casing and pattern-based modifications.
Stylus is a CSS preprocessor that transforms a dynamic language into standard CSS. It utilizes a compilation workflow to enable the use of variables, nesting, and arithmetic, which are then rendered into stylesheets for use in frontend asset pipelines. The project is distinguished by a flexible syntax that allows for indentation-based styling, meaning curly braces, colons, and semicolons can be omitted. It further differentiates itself through a JavaScript-driven plugin pipeline and the ability to extend the native syntax with custom JavaScript functions for complex logic. Its capability sur
Creates literal nodes from strings using unquoting, conversion, or sprintf formatting.
30 Seconds of Python is a curated collection of short, reusable Python code snippets designed for quick reference and immediate reuse. It provides an interactive browser that lets you explore snippets organized by tags, search across names and descriptions, and copy code to your clipboard with a single click. The collection covers a broad range of common programming tasks, including list and dictionary operations, string formatting and manipulation, date and time calculations, and color format conversion. It also includes utilities for data transformation, such as converting between case styl
Demonstrates embedding variables and expressions directly inside string literals using f-strings.
यह रिपॉजिटरी JavaScript कोडिंग चुनौतियों और एक व्यापक साक्षात्कार गाइड का संग्रह है। यह डेवलपर्स को भाषा के मूल सिद्धांतों में महारत हासिल करने और तकनीकी साक्षात्कारों की तैयारी में मदद करने के लिए डिज़ाइन किए गए संदर्भ कार्यान्वयन और शैक्षिक उदाहरण प्रदान करता है। यह प्रोजेक्ट विशेष कार्यान्वयनों की एक विस्तृत श्रृंखला को कवर करता है, जिसमें करीइंग (currying) और आंशिक अनुप्रयोग (partial application) जैसे कार्यात्मक प्रोग्रामिंग पैटर्न, साथ ही समवर्ती नियंत्रण (concurrency control) के लिए एसिंक्रोनस पैटर्न शामिल हैं। इसमें डॉक्यूमेंट ऑब्जेक्ट मॉडल हेरफेर और स्टैक व कतार (queues) जैसी सामान्य डेटा संरचनाओं के कार्यान्वयन के व्यावहारिक उदाहरण भी शामिल हैं। व्यापक रूप से, संग्रह उन्नत भाषा सुविधाओं, डिज़ाइन पैटर्न कार्यान्वयन और डेटा संरचना हेरफेर तक फैला हुआ है। यह एक सतह क्षेत्र को संबोधित करता है जिसमें एसिंक्रोनस प्रोग्रामिंग, DOM इंटरैक्शन, ऑब्जेक्ट-ओरिएंटेड निर्माण पैटर्न और लो-लेवल प्रिमिटिव संचालन शामिल हैं।
Demonstrates the use of escape sequences to insert special characters and formatting into string literals.
KotlinPoet, Kotlin सोर्स फ़ाइलों को प्रोग्रामेटिक रूप से बनाने और फ़ॉर्मेट करने के लिए एक Java-आधारित API है। यह एक सोर्स कोड जनरेटर और टाइप सिस्टम मैपर के रूप में कार्य करता है, जो बॉयलरप्लेट के उत्पादन को स्वचालित करने के लिए भाषा तत्वों के टाइप-सेफ मॉडल के माध्यम से Kotlin कोड संरचनाएं बनाने के लिए एक फ्रेमवर्क प्रदान करता है। यह प्रोजेक्ट भाषा तत्वों को क्रमिक रूप से बनाने के लिए एक फ्लुएंट-बिल्डर पैटर्न का उपयोग करता है और एक आंतरिक ऑब्जेक्ट-मॉडल प्रतिनिधित्व बनाए रखता है जो तार्किक संरचना को अंतिम टेक्स्ट फ़ॉर्मेटिंग से अलग करता है। यह इंडेंटेशन-आधारित फ़ॉर्मेटिंग और कीवर्ड-अवेयर नेम एस्केपिंग के माध्यम से सोर्स उत्सर्जन की जटिलताओं को संभालता है ताकि वैध आउटपुट सुनिश्चित हो सके। यह लाइब्रेरी क्लास, इंटरफ़ेस, फ़ंक्शन, प्रॉपर्टी और कंपेनियन ऑब्जेक्ट सहित घोषणाओं की एक विस्तृत श्रृंखला के निर्माण को कवर करती है। इसमें जटिल पैरामीटराइज़्ड टाइप, एनम क्लास और टाइप एलियास के प्रबंधन के लिए उपयोगिताएँ, साथ ही लिटरल एम्बेड करने और कंट्रोल फ़्लो ब्लॉक बनाने के लिए टूल शामिल हैं। स्वचालित इम्पोर्ट प्रबंधन और घोषणा संदर्भ को योग्य नामों द्वारा सदस्यों को हल करने के लिए एकीकृत किया गया है। KotlinPoet रिफ्लेक्शन डेटा और सिंबल को सोर्स प्रतिनिधित्व में बदलने की क्षमताएं प्रदान करता है और एनोटेशन प्रोसेसिंग टूलिंग में उपयोग के लिए फ़ाइल विनिर्देशों को निर्यात करने का समर्थन करता है।
Automatically formats text as string literals by handling quotation marks and escaping special characters.