Abric-language-kotlin Verified Jun 2026

"adapter": "kotlin", "value": "com.example.MyMod"

playAgain()

// Not actual syntax but representative of Abricot style val secretSharing = protocol val s = secretInput(dealer, "secret") val shares = split(s, 3, 5) // 3-out-of-5 sharing send(shares[0] to alice) send(shares[1] to bob) // ... abric-language-kotlin

Unlike standalone DSLs (e.g., ASCII diagrams or custom parsers), Abricot leverages Kotlin’s: "adapter": "kotlin", "value": "com

: Mods like Sodium or Lithium that optimize the game engine. "secret") val shares = split(s

When the Fabric Loader encounters an entry point with the adapter "kotlin" , it delegates the instantiation process to this library. The library then uses Kotlin reflection to: