4 repository-uri
Compilers that resolve platform-specific implementations through shared interface contracts.
Distinct from Multiplatform Code Sharing: Distinct from general code sharing: focuses on the compiler-level resolution of platform-specific code via expectation contracts.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Expectation-Based Compilers. Refine with filters or upvote what's useful.
KMP-Awesome is a curated directory and resource index for the Kotlin Multiplatform ecosystem. It serves as a centralized hub for developers to discover libraries, frameworks, and tools designed to streamline the creation of shared codebases for mobile, desktop, and web applications. The project distinguishes itself by organizing a comprehensive collection of solutions that address the core challenges of cross-platform development. It highlights resources for implementing shared business logic, declarative user interface components, and type-safe data persistence layers. By providing a structu
Resolves platform-specific implementations through shared interface contracts to ensure consistent behavior.
Batsh este un compilator și transpiler shell cross-platform care traduce o sintaxă de scripting unificată în comenzi specifice platformei pentru Bash și Windows Batch. Funcționează ca un generator de scripturi multi-platformă, transformând un singur limbaj sursă în scripturi executabile compatibile cu Linux, macOS și Windows. Sistemul utilizează un proces de traducere care mapează constructele de nivel înalt la o reprezentare intermediară și rezolvă diferențele în flag-urile comenzilor și expansiunea variabilelor. Suportă încorporarea condiționată a țintei, permițând blocurilor de cod brut să fie injectate în ieșire pentru un anumit sistem de operare, fiind ignorate pentru altele. Acest instrument acoperă generarea de instrumente de build și scripturi de deployment agnostice față de mediu, prin convertirea unui singur fișier sursă în mai multe formate de script distincte. Acest lucru asigură că comenzile de sistem pot fi executate pe diverse sisteme de operare fără a duplica logica.
Resolves target-specific code requirements by allowing raw statements to be inserted for specific platforms.
kotlin-logging is a logging facade for Kotlin that provides a unified API and a multiplatform logging interface. It functions as a wrapper for various backend frameworks, including SLF4J, to enable consistent event recording across different JVM and Kotlin Multiplatform targets. The library centers on lazy message evaluation, which prevents expensive string construction unless the specific log level is active. This is achieved through a lazy-evaluated logger that computes messages only when the current severity level permits. The project supports structured application logging with metadata
Uses Kotlin's expect-actual mechanism to resolve the correct logging backend at compile time for different operating systems.
This repository provides a collection of reference implementations for building mobile applications using the Kotlin Multiplatform framework. It serves as a practical guide for centralizing core application logic, data handling, and business rules into a single shared codebase while maintaining the ability to build native user interfaces for Android and iOS. The project demonstrates architectural patterns for managing state, persistence, and network synchronization across diverse mobile operating systems. By utilizing common source sets and platform-specific native interop, it enables develop
Resolves platform-specific implementations through shared interface contracts to maintain consistent application behavior.