5 Repos
Tools that transform annotated Go source code into generated wire files compiled alongside the original project.
Distinct from Source Code Transformation Engines: Distinct from Source Code Transformation Engines: specifically transforms Go source code for DI wiring, not general compatibility patching.
Explore 5 awesome GitHub repositories matching programming languages & runtimes · Go Source-to-Source Transformers. Refine with filters or upvote what's useful.
Swift is a general purpose, compiled systems programming language designed for building high-performance software. It is a strongly typed language that focuses on memory safety and type safety to prevent runtime errors. The language is designed for native code integration, allowing it to interoperate with C and Objective-C libraries to leverage existing system functions and high-performance APIs. The project covers broad capabilities in type-safe application development and cross-platform toolchain engineering. It includes infrastructure for automated language validation, compiler performanc
Tests the compiler against comprehensive source suites to ensure language compatibility is maintained across versions.
Wire is a compile-time dependency injection framework for Go that generates code to wire application components together. It analyzes function signatures at compile time to build an explicit initialization graph, removing the need for runtime reflection or manual wiring code. The framework operates as a Go code generator and static analysis tool, transforming annotated source code into generated wire files that compile alongside the original project. It connects dependencies by matching function parameters and return types, producing a directed acyclic graph of component dependencies that is
Transforms annotated Go source code into generated wire files compiled alongside the original project.
This project is a technical handbook and tutorial guide for the Babel compiler. It serves as a resource for configuring the tool and writing custom plugins to transform JavaScript source code. The guide provides instructional material on creating custom transformation plugins and modifying the compilation process. It specifically covers how to navigate and modify abstract syntax trees to programmatically rewrite source code. The documentation covers the mechanics of code transformation, the management of compiler configurations, and the fundamentals of compiler tooling. It includes guidance
Explains how to apply automated rules to convert modern JavaScript into compatible versions for older targets.
nwb ist ein Zero-Configuration-Build-Toolchain, Modul-Bundler und Entwicklungsserver für JavaScript- und JSX-Anwendungen und -Bibliotheken. Es fungiert als Build-System, das automatisch Compiler- und Bundler-Einstellungen aus den installierten Abhängigkeiten eines Projekts ableitet, um manuelle Setups zu vermeiden. Das Tool zeichnet sich durch seine Fähigkeit aus, als Bibliotheks-Compiler zu fungieren und mehrere Distributionsformate wie ESM und CJS aus einer einzigen Quelle für die Kompatibilität mit Paketmanagern zu generieren. Es enthält zudem einen dedizierten Headless-Browser-Test-Runner, der Unit-Tests mit integriertem Watch-Modus und Code-Coverage-Reporting ausführt. Das System deckt ein breites Spektrum an Funktionen ab, einschließlich Frontend-Asset-Pipelines für das Transpilieren moderner Syntax und die Verarbeitung von CSS-Präprozessoren. Es bietet einen Entwicklungs-Workflow mit Hot Module Replacement, Produktions-Build-Generierung mit Minifizierung und Code-Stripping sowie eine Plugin-gesteuerte Transformations-Pipeline zur Erweiterung der Toolchain-Funktionalität.
Configures language runtimes and experimental proposals to transform modern syntax into browser-compatible code.
Statik is a build tool for the Go language that transforms directory structures and files into byte arrays within source code. This process enables the creation of single-binary distributions by embedding static assets directly into the compiled executable. The tool ensures deterministic builds by stripping file modification timestamps, resulting in consistent binary outputs across different environments. It also includes a build-time asset filter to limit the inclusion of specific file extensions and minimize the final executable size. To access these embedded assets, the project provides a
Converts static files into Go source code byte slices to enable embedding within the compiled binary.