4 repositorios
Code templates that mix literal syntax with evaluated sub-expressions for dynamic code generation.
Distinct from Template-Based Code Generators: Distinct from Template-Based Code Generators: focuses on expression interpolation within templates, not full codebase scaffolding.
Explore 4 awesome GitHub repositories matching development tools & productivity · Interpolated Code Templates. Refine with filters or upvote what's useful.
Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces
Provides quasiquotation-based code templates with expression interpolation for metaprogramming.
KotlinPoet es una API basada en Java para crear y formatear archivos fuente de Kotlin mediante programación. Funciona como un generador de código fuente y un mapeador de sistemas de tipos, proporcionando un framework para construir estructuras de código Kotlin a través de un modelo de elementos de lenguaje con seguridad de tipos, automatizando así la creación de código repetitivo (boilerplate). El proyecto utiliza un patrón de diseño fluent-builder para construir elementos de lenguaje de forma incremental y mantiene un modelo de objetos interno que separa la estructura lógica del formato de texto final. Gestiona las complejidades de la emisión de código mediante un formato basado en sangrías y el escape de nombres consciente de palabras clave para garantizar una salida válida. La librería cubre la generación de una amplia gama de declaraciones, incluyendo clases, interfaces, funciones, propiedades y companion objects. Incluye utilidades para gestionar tipos parametrizados complejos, clases enum y alias de tipos, así como herramientas para incrustar literales y construir bloques de control de flujo. La gestión automática de importaciones y la referencia de declaraciones están integradas para resolver miembros mediante nombres cualificados. KotlinPoet ofrece capacidades para transformar datos de reflexión y símbolos en representaciones de código fuente, y permite exportar especificaciones de archivos para su uso en herramientas de procesamiento de anotaciones.
Creates string literals with interpolation expressions to produce dynamic templates in generated source.
Aura Theme is a comprehensive set of dark color palettes, development environment styles, and digital assets designed to create a unified visual identity across various software targets. It provides a cohesive dark mode system for code editors, terminal emulators, and desktop window managers, complemented by a collection of high-resolution dark wallpapers for desktop and mobile environments. The project includes a theme porting tool and a UI color token system that replace hardcoded hex values with dynamic accent tokens. This framework enables cross-application theme porting, allowing a consi
Uses interpolated templates to inject theme properties and metadata into configuration files.
OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework
Inserts new parameters or statements into existing code structures using templates with interpolation markers.