2 Repos
Programmatic generation of function declarations including bodies, parameters, and return types.
Distinct from Generated Function Configuration: Distinct from Generated Function Configuration which refers to compiler-generated special members; this is about arbitrary source function synthesis.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Source Function Generation. Refine with filters or upvote what's useful.
KotlinPoet is a Java-based API for programmatically creating and formatting Kotlin source files. It serves as a source code generator and type system mapper, providing a framework to build Kotlin code structures through a type-safe model of language elements to automate the production of boilerplate. The project utilizes a fluent-builder pattern to incrementally construct language elements and maintains an internal object-model representation that separates logical structure from final text formatting. It handles the complexities of source emission through indentation-based formatting and key
Provides comprehensive utilities for defining and generating Kotlin functions with configurable bodies and signatures.
Php-generator is a metaprogramming library for programmatically generating, inspecting, parsing, and manipulating PHP source code using expressive object-oriented structures. It allows developers to construct classes, interfaces, traits, enums, functions, closures, and complete files without writing raw strings. The library features automated namespace resolution to manage fully qualified class names and use statements, preventing naming collisions in generated output. It also includes configurable formatting utilities that transform abstract syntax trees into text strings adhering to establ
Builds global functions, anonymous closures, and short arrow functions with customizable signatures, parameters, return types, and bodies.