15 Repos
Utilities for handling special characters within string literals.
Explore 15 awesome GitHub repositories matching programming languages & runtimes · String Escapers. Refine with filters or upvote what's useful.
Typst is a programmable, markup-based typesetting engine designed for professional document creation. It functions as a scriptable publishing toolchain that transforms plain text and code into complex, paginated outputs. By utilizing a high-performance compiler, the system automates document assembly, mathematical rendering, and dynamic content generation, providing a unified workflow for academic and technical authoring. The engine distinguishes itself through a declarative layout framework that uses cascading rules to manage document structure and visual styling. Unlike traditional systems,
Handles special characters like newlines and quotes within text literals using standard escape sequences for accurate rendering.
Toon is a data serialization library and toolkit designed to convert complex objects into compact, human-readable formats optimized for large language models. By focusing on token efficiency, the library minimizes the context window footprint of structured data through techniques like key folding and tabular layout optimization. It provides a streaming-capable processor that handles the encoding and decoding of hierarchical data while maintaining structural integrity. The project distinguishes itself through its path-aware transformation pipeline and configurable serialization logic, which al
Provides utilities for handling special characters and control symbols within serialized string data to ensure parsing integrity.
simdjson is a high-performance, header-only C++ library designed for parsing, querying, and serializing JSON data with minimal memory overhead. It functions as a hardware-aware data processing engine that leverages vector instructions to achieve gigabyte-per-second parsing speeds. By detecting host processor capabilities at runtime, the library automatically selects the most efficient instruction sets to accelerate structural analysis and validation. The library distinguishes itself through a focus on extreme efficiency and resource management. It utilizes memory mapping and padded buffer ali
Ensures special characters are correctly escaped and encoded to maintain valid JSON string syntax.
Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor
Encodes non-printable characters and backslashes within string literals using backslash-prefixed sequences.
Hammerspoon is a programmable automation engine for macOS that enables deep system-level control through a Lua scripting environment. By bridging high-level scripts with native Objective-C APIs, it allows users to interact with the operating system's accessibility tree, intercept hardware input streams, and manage the lifecycle of running applications. The project distinguishes itself through an event-driven architecture that registers asynchronous hooks for system notifications and hardware events. This allows for real-time automation, such as remapping keyboard and mouse inputs, managing wi
Converts non-printable characters to hexadecimal sequences for readable console output.
pq is a PostgreSQL driver for Go that implements the standard database/sql interface. It serves as a connection library and protocol implementation that translates application data types into the binary and text formats required by PostgreSQL. The project provides specialized utilities for high-performance data ingestion using bulk data loading and a dedicated bulk data importer. It also features an implementation for listening to asynchronous server notifications and provides tools for connection load balancing across multiple hosts and ports. The driver covers a broad surface of database i
Provides utilities to escape special characters in string literals to prevent SQL injection and syntax errors.
pyTelegramBotAPI is a Python framework and API wrapper designed for building bots that interact with the Telegram Bot API. It provides a toolkit for managing bot lifecycles through both synchronous and asynchronous request patterns. The framework is distinguished by a routing system that uses custom filters and middleware pipelines to direct incoming updates to specific handlers. It includes a finite state machine manager to track user progress through multi-step conversations and a retry-based system to handle server-side rate limiting. The library covers a broad range of capabilities, incl
Includes a utility to sanitize strings by escaping reserved characters to prevent formatting errors in messages.
Execa is a promise-based process execution library that serves as a wrapper for the Node.js child process module. It functions as a shell command runner and subprocess management tool, simplifying the execution of external commands and binaries. The library distinguishes itself through automatic argument escaping to prevent shell injection and the use of abort signals for graceful process termination. It also provides an inter-process communication wrapper for exchanging structured JSON data and messages between parent and child processes. Its capabilities cover a broad range of process I/O
Automatically quotes and escapes shell arguments to prevent command injection and ensure literal string interpretation.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches escape sequences for including special characters like newlines and tabs in strings.
The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design documents and community review mechanisms that govern changes to the Rust programming language, its compiler, and its standard library. It defines the complete lifecycle for proposing, discussing, and implementing substantial changes through RFC documents, from initial submission and community feedback through final comment periods and sub-team sign-offs. The repository codifies the governance and collaboration processes that shape Rust's development, including mechanisms for com
Specifies the escaping rules for format strings in the standard library's formatting macros.
Timber is a PHP library that integrates the Twig template engine into WordPress themes, providing an object-oriented framework for theme development. It wraps WordPress data — posts, terms, users, menus, and comments — in structured PHP classes, allowing developers to work with objects instead of raw arrays while keeping HTML markup separate from PHP logic through Twig templates. The library distinguishes itself by offering a complete set of tools for modern WordPress theme building. It includes a file-based template hierarchy with fallback chains, dynamic image manipulation with resizing, cr
Escapes text for safe insertion into inline JavaScript contexts like onclick attributes or script variables.
Melody ist ein Transpiler für reguläre Ausdrücke und ein Pattern-Compiler, der eine hochgradig lesbare Syntax in Standard-RegEx übersetzt. Er fungiert als Tool zur Vereinfachung der Erstellung und Wartbarkeit komplexer Matching-Muster. Das Projekt bietet eine spezialisierte Syntax zur Definition wiederverwendbarer Variablen und Makros, um Duplikate innerhalb von Ausdrücken zu reduzieren. Es beinhaltet native Unterstützung für das Mapping spezialisierter Labels auf Unicode-Kategorie-Eigenschaften und handhabt automatisch das Escaping von Literaltext. Das System ist über mehrere Schnittstellen zugänglich, darunter ein CLI-Tool zum Kompilieren und Testen von Mustern gegen Strings oder Dateien, ein zustandsbehaftetes interaktives REPL für die Echtzeit-Auswertung und ein Babel-Plugin zur Integration von Syntax-Transformationen in JavaScript-Build-Pipelines. Es bietet zudem eine browserbasierte Schnittstelle zum Testen der Syntax ohne lokale Installation. Der Compiler unterstützt Standard-RegEx-Funktionen wie Capture-Gruppen, Lookaround-Assertions, Zeichenklassen und Quantifizierer.
Automatically escapes reserved regular expression symbols to ensure literal matching of plain text.
Scriban ist eine Text-Templating-Bibliothek und eine .NET-Skript-Engine zur dynamischen Textgenerierung. Sie fungiert als Template-Prozessor und sichere Skript-Sandbox und bietet eine sichere Ausführungsumgebung, die den Zugriff auf Objekte einschränkt, um unautorisierte Codeausführung zu verhindern. Das Projekt enthält zudem einen Template-Parser für abstrakte Syntaxbäume, der eine programmatische Analyse und Modifikation von Templates ermöglicht. Die Engine verfügt über eine dedizierte Liquid-Template-Engine und einen Kompatibilitätsmodus, der das Parsen, Ausführen und Konvertieren von Templates in Liquid-Syntax ermöglicht. Sie zeichnet sich durch ein Filter-System für Member-Zugriffe aus, das es Entwicklern erlaubt, Objekteigenschaften umzubenennen, zu verbergen oder zu filtern, um zu steuern, wie Daten innerhalb von Templates zugegriffen werden. Die Bibliothek deckt ein breites Spektrum an Funktionen ab, einschließlich asynchronem Template-Rendering, bedingter Logik und Iteration über Sammlungen. Sie bietet integrierte Dienstprogramme zur Datenmanipulation, wie mathematische Operationen, JSON-Konvertierung, Datums- und Zeitarithmetik sowie umfangreiche Textverarbeitung mittels regulärer Ausdrücke. Entwickler können die Engine durch die Definition eigener Funktionen und die Integration externer Klassen weiter erweitern. Das Projekt bietet eine sichere API-Oberfläche, um die Veröffentlichung als native Binärdatei via Native AOT zu unterstützen.
Includes functions to escape special metacharacters so they are treated as literal text within regular expressions.
Scriban ist eine .NET-Text-Templating-Engine und eine eingebettete Skriptsprache zur dynamischen Textgenerierung. Sie fungiert als Tool zur Manipulation abstrakter Syntaxbäume und als Template-Parser, der die Umwandlung von Skripten in visitierbare Bäume zur Analyse, Modifikation und zum Rendering ermöglicht. Die Engine ist speziell auf Native-AOT-Kompatibilität ausgelegt und nutzt eine reflection-freie API, um Templates in getrimmten Umgebungen auszuführen. Sie bietet zudem einen dedizierten Parser und Konvertierungssystem für Liquid-Templates, was die Migration und Ausführung von Liquid-Skripten innerhalb von .NET ermöglicht. Das Projekt deckt ein breites Spektrum an Funktionen ab, einschließlich sandboxed Code-Ausführung für sicheres Skript-Running und ein pipe-basiertes System zur Datentransformation. Es enthält umfassende Utilities zur Manipulation von Strings, Arrays, Datumsangaben und mathematischen Operationen, neben Unterstützung für JSON-Datenkonvertierung und reguläre Ausdrücke. Entwickler können die Engine durch benutzerdefinierte Funktionsbindungen, Objektintegration und anpassbares Member-Name-Mapping erweitern.
Replaces regular expression metacharacters with escape codes to treat them as literal characters.
fast-json-stringify is a high-performance JSON serialization library that uses JSON Schema to compile optimized functions for converting JavaScript objects into strings. It serves as a schema-based JSON serializer that generates specialized serialization logic to outperform standard stringification methods. The project provides capabilities to export standalone serialization code to files for direct execution and supports schema reference resolution to eliminate logic duplication. It allows for the deactivation of character escaping for trusted data to reduce overhead and includes specific op
Allows disabling character escaping for trusted strings to reduce serialization overhead and increase throughput.