4 Repos
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 ist ein plattformübergreifender Shell-Compiler und Transpiler, der eine vereinheitlichte Skriptsyntax in plattformspezifische Befehle für Bash und Windows Batch übersetzt. Er fungiert als plattformübergreifender Skriptgenerator, der eine einzige Quellsprache in ausführbare Skripte transformiert, die mit Linux, macOS und Windows kompatibel sind. Das System nutzt einen Übersetzungsprozess, der High-Level-Konstrukte auf eine Zwischenrepräsentation abbildet und Unterschiede bei Befehls-Flags und Variablen-Expansion auflöst. Es unterstützt bedingtes Target-Embedding, wodurch rohe Codeblöcke für ein bestimmtes Betriebssystem in die Ausgabe eingefügt werden können, während sie für andere ignoriert werden. Dieses Tool deckt die Generierung von umgebungsunabhängigen Build-Tools und Deployment-Skripten ab, indem es eine einzige Quelldatei in mehrere unterschiedliche Skriptformate konvertiert. Dies stellt sicher, dass Systembefehle über verschiedene Betriebssysteme hinweg ausgeführt werden können, ohne die Logik duplizieren zu müssen.
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.