4 repository-uri
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 este un API bazat pe Java pentru crearea și formatarea programatică a fișierelor sursă Kotlin. Acesta servește drept generator de cod sursă și mapper pentru sistemul de tipuri, oferind un framework pentru construirea structurilor de cod Kotlin printr-un model type-safe al elementelor limbajului, automatizând astfel producția de cod boilerplate. Proiectul utilizează un pattern de tip fluent-builder pentru a construi incremental elemente de limbaj și menține o reprezentare internă de tip obiect-model care separă structura logică de formatarea finală a textului. Gestionează complexitatea emiterii codului sursă prin formatare bazată pe indentare și escape-ul numelor care țin cont de cuvintele cheie, pentru a asigura un output valid. Biblioteca acoperă generarea unei game largi de declarații, inclusiv clase, interfețe, funcții, proprietăți și companion objects. Include utilitare pentru gestionarea tipurilor parametrizate complexe, a claselor enum și a alias-urilor de tip, precum și instrumente pentru încorporarea literalelor și construirea blocurilor de control al fluxului. Gestionarea automată a importurilor și referențierea declarațiilor sunt integrate pentru a rezolva membrii prin nume calificate. KotlinPoet oferă capabilități pentru transformarea datelor de reflexie și a simbolurilor în reprezentări sursă și suportă exportul specificațiilor de fișiere pentru utilizarea în instrumente de procesare a adnotărilor.
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.