7 个仓库
Sequential processing of text data to minimize memory consumption by avoiding loading entire files.
Distinct from Event-Based Stream Processing: The candidates provided are for event-based data streams, remote process stdin, or VCS commits, not general sequential text highlighting.
Explore 7 awesome GitHub repositories matching software engineering & architecture · Stream-Based Text Processing. Refine with filters or upvote what's useful.
PHP-Console-Highlighter 是一个语法高亮器和控制台代码格式化程序,旨在将颜色编码应用于 PHP 源代码,以便在终端环境中显示。它充当将纯 PHP 文本转换为用于命令行界面的视觉结构化代码的实用程序。 该工具支持基于终端的代码审查,并为 PHP 静态分析工具和命令行应用程序提供格式化输出。它使用基于正则表达式的分词和 ANSI 序列颜色映射将语法标记转换为彩色文本。
Processes input strings sequentially to apply highlighting without loading the entire file into memory.
Spark 是一套命令行实用程序,旨在将数值数据集渲染为使用 Unicode 字符的紧凑视觉图表。它作为一个终端数据可视化和图表工具,在 Shell 环境中将数字序列转换为视觉趋势线。 该工具通过将数值范围映射到特定的 Unicode 块字符来生成迷你图(sparkline)。它利用线性值缩放将输入数字归一化以适应可用的字符高度,并从标准输入流中顺序处理数据以产生实时视觉输出。 这些功能实现了用于监控系统指标并将视觉图表合并到 Shell 脚本报告中的终端数据可视化。
Processes numeric input sequentially from the standard input stream to minimize memory consumption.
htmlparser2 是一套用于高性能标记解析、DOM 操作和增量流处理的工具。它作为一个 HTML 和 XML 解析器,将标记字符串转换为结构化对象树,并配有一个专为内存高效处理大型文档而设计的流式标记解析器。 该项目包含一个用于查询、修改和序列化文档对象模型 (DOM) 树的 DOM 操作库。它还提供了一个 Web Feed 解析器,用于从 RSS、RDF 和 Atom Feed 中提取结构化元数据和条目。 该库涵盖了广泛的数据解析功能,包括将文档转换为 DOM 树以及执行 Web 抓取工作流。这些工具允许在解析后的文档结构转换回字符串之前对其进行搜索和修改。
Consumes markup data incrementally through a writable interface to process large documents without full memory loading.
JSON-java 是一个用于解析和生成 JSON 文本并将其映射到 Java 对象和集合的 Java 库。它作为一个序列化框架,用于将类实例和数据结构转换为标准化的 JSON 字符串。 该项目包含一个 JSON 指针实现,用于通过字符串或 URI 片段表示从文档中检索特定值。它还提供了一个转换器,用于在 JSON 和 XML 之间转换数据结构,以及一个用于在 JSON 与 HTTP 标头、Cookie 和逗号分隔列表等 Web 格式之间进行转换的翻译器。 该库涵盖了 JSON 处理的广泛功能,包括对象序列化和反序列化。它支持将 JSON 文本灵活解析为对象,并支持生成标准化的 JSON 文档。
Processes large JSON documents using input and output streams to minimize memory usage.
This project is a collection of Go libraries designed to reduce the size of multiple web formats while preserving functional integrity. It serves as a high-performance text processor and multi-format asset compressor for shrinking HTML, CSS, JavaScript, JSON, SVG, and XML files by removing redundant characters. The tool is designed for both static batch processing and real-time use. It includes middleware capabilities to intercept and minify web responses on the fly based on MIME types or file extensions, allowing for content compression during active data streams. The processing suite cover
Implements stream-based text processing using reader and writer interfaces to maintain a low memory footprint for large assets.
Flex 是一个扫描器生成器和词法分析器生成器,可将正则表达式定义转换为能够将输入文本转换为标记(token)的软件。它主要生成用于编译器和解释器开发的 C 和 C++ 源代码。 该工具提供了一个专门的生成器,用于产生作为类实现的面向对象扫描器,使词法分析工具能够直接集成到 C++ 软件项目中。它还包含一个交叉编译工具链,用于为不同于宿主机的目标平台构建扫描器实现。 该项目涵盖了用于支持精确错误报告的输入列跟踪功能,以及用于防止命名冲突的备份文件管理功能。
Implements memory chunking to minimize system calls while processing input text streams.
TinyOBJLoader is a single-header C++ library designed for parsing Wavefront OBJ files. It functions as a stream-based text parser that extracts vertex, normal, and texture data into structured arrays for use in graphics and physics engines. The project distinguishes itself as a high-performance geometry loader that utilizes multi-threading to distribute the processing of large-scale 3D environments across multiple CPU cores. It includes a mesh triangulator that converts complex polygons into triangles to ensure compatibility with standard graphics hardware. The library supports a variety of
Reads raw text input sequentially to minimize memory overhead when converting files into structured vertex arrays.