11 个仓库
Patterns for processing nested data structures using recursive type aliases.
Distinguishing note: Focuses on type-level recursion rather than runtime algorithms.
Explore 11 awesome GitHub repositories matching software engineering & architecture · Recursive Type Processing. Refine with filters or upvote what's useful.
Type-challenges is a community-driven learning platform and programming playground designed to help developers master advanced TypeScript type systems. It provides a collection of interactive exercises that focus on complex type-level logic, allowing users to practice and refine their skills through hands-on problem solving. The project distinguishes itself by focusing on the boundaries of the language, requiring users to employ recursive conditional types, mapped transformations, and variadic tuple manipulation to solve curated coding puzzles. By working through these challenges, developers
Processes nested data structures by calling type aliases within themselves until a base case is reached.
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
Ships recursive type processing for deep operations on nested object hierarchies.
TypeResolver is a PHP namespace resolver and type parser designed to convert partial class and element names into fully qualified names. It functions as a utility for static code analysis, transforming complex type expressions and primitives into structured value objects. The project implements PSR-5 standards to ensure consistent type referencing. It manages the resolution of structural elements by tracking current namespaces and alias contexts to expand partial identifiers into their full definitions. The tool covers the parsing of compound type strings and the management of PHP imports an
Parses complex type strings into value objects using recursive type processing patterns.
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
Uses type macros to define recursive type-level operations like appending heterogeneous lists without manual trait boilerplate.
这是一个 TypeScript 实用类型库,为复杂的对象和联合类型转换提供高级类型别名和映射类型。它实现了用于创建品牌化(branded)标称类型、提取类型元数据以及对联合类型执行集合操作的专用工具。 该项目通过一个用于递归对象转换的工具包脱颖而出,允许在深度嵌套的结构中应用只读或可选状态等属性约束。它还提供了一个用于计算联合类型之间的交集、差集和补集的系统,以模拟数学集合逻辑。 该库涵盖了广泛的类型系统功能,包括对象属性过滤、形状比较以及类构造函数和 Promise 解析类型的提取。它还包括用于值验证的实用程序,例如检测假值或空值以及识别原始类型。
Provides a toolkit for recursively applying property constraints across deeply nested object structures.
This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is built as a framework within the Serde ecosystem, providing both a strongly typed parser for compile-time safety and a recursive value tree for manipulating JSON data without a predefined schema. The project supports both typed and untyped processing. It can map JSON data into specific Rust types for schema conformity or parse input into a flexible, schemaless representation. It also includes macro-based utilities for the dynamic construction of JSON objects.
Implements a recursive enum-based sum type to represent schemaless JSON data.
本项目是 Go 编程语言综合指南的中文翻译版。它作为一个本地化的教育资源和技术手册,旨在为语言语法、设计和软件开发提供指导。 该资源涵盖了广泛的 Go 语言教育内容,包括编程模式的实现和系统设计。它包含翻译后的课程和示例,重点关注并发和接口使用等核心语言特性。 内容跨越了多个能力领域,包括语言基础、数据建模、运行时反射和内存管理。它还详细介绍了软件架构、错误处理、质量保证和 Web 网络编程。 该文档结构为技术手册,包含翻译内容、勘误和修正,以确保学习的准确性。
Demonstrates how to use reflection to inspect and print complex, nested data structures.
CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di
Automatically selects the fastest supported quantization type for the current hardware and backend when loading a model.
ts-essentials 是一个全面的 TypeScript 工具类型和库工具包,提供用于递归结构转换、运行时断言和类型保护的高级原语。它作为一个工具库,用于执行复杂的类型级编程,以确保更强的类型安全性并减少样板代码。 该项目通过一套专门用于深度对象操作的工具脱颖而出,例如在嵌套层次结构中递归应用只读或可选修饰符。它还提供了一套专门的严格类型约束,以确保数据结构专门符合 JSON 规范。 该工具包涵盖了广泛的功能,包括用于元数据提取的类型分析、联合和元组操作以及结构身份验证。它还包括运行时验证工具,以在条件逻辑中强制执行案例穷举并在执行期间验证类型约束。
Implements recursive mapped types to apply modifiers like optionality or read-only across nested object hierarchies.
SwiftTips 是一个精选的指南、库和设计模式集合,专注于 Swift 语言掌握、应用程序架构和 API 设计。它为实现高级编码技术和架构最佳实践提供了技术资源。 该项目强调通过战略性的协议组合和泛型创建类型安全且对话式的接口。它提供了用于构建模块化 UI 系统和管理复杂视图层次结构的专门模式,以及单元测试和依赖注入的综合策略。 该资源涵盖了广泛的功能,包括函数式编程原语、高级类型系统工具和数据建模策略。它还详细介绍了错误处理、内存管理和响应式用户界面开发的技术。
Uses type aliases to shorten complex generic method signatures for improved readability.
Hotscript is a comprehensive suite of composable utilities designed for performing structural transformations and mathematical operations within the TypeScript type system. It serves as a type-level manipulation library that provides a set of higher-order functions to map, filter, and reduce the structure of type definitions. The project focuses on type-level programming by implementing reusable logic and calculations directly within types. This includes the ability to create custom type functions, implement type-level pattern matching, and compose sequences of transformations where each oper
Uses nested conditional types to iteratively process and transform complex, nested type structures until a base case is reached.