4 dépôts
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 est un compilateur et transpiler de shell multiplateforme qui traduit une syntaxe de script unifiée en commandes spécifiques à Bash et Windows Batch. Il fonctionne comme un générateur de scripts multiplateforme, transformant un langage source unique en scripts exécutables compatibles avec Linux, macOS et Windows. Le système utilise un processus de traduction qui mappe les constructions de haut niveau vers une représentation intermédiaire et résout les différences dans les flags de commande et l'expansion des variables. Il prend en charge l'intégration de cibles conditionnelles, permettant à des blocs de code brut d'être injectés dans la sortie pour un système d'exploitation spécifique tout en étant ignorés pour les autres. Cet outil couvre la génération d'outils de build et de scripts de déploiement agnostiques à l'environnement en convertissant un fichier source unique en plusieurs formats de script distincts. Cela garantit que les commandes système peuvent être exécutées sur divers systèmes d'exploitation sans dupliquer la logique.
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.