hearth-cross-compilation
OfficialMaster cross-version Hearth macros.
Software Engineering#macros#cross-compilation#scala-3#hearth#scala-2#path-dependent-types#splice-isolation
Authorkubuszok
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cross-compiled Hearth macro development often suffers from subtle Scala 2.13 vs Scala 3 differences leading to divergent behavior, brittle code, and runtime errors.
Core Features & Use Cases
- Live reference of cross-compilation pitfalls including path-dependent types, splice isolation, type constructor matching, reification failures, Array ClassTag, upcast semantics, phantom types, and IsMap ordering.
- Guidance on safe extension loading, LambdaBuilder scope, and def-caching strategies to maintain consistent macro expansion across platforms.
- Use cases: when authoring Hearth macros or SPI extensions that must compile and run identically on both Scala 2.13 and Scala 3.
Quick Start
Review pitfalls.md first to understand common failure modes and apply the recommended extension patterns when building Hearth macros for dual-version support.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hearth-cross-compilation Download link: https://github.com/kubuszok/kindlings/archive/main.zip#hearth-cross-compilation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.