Creating type-safe domain-specific languages currently requires deep compiler expertise. A framework that handles type checking during compilation would lower the barrier to creating robust DSLs.
You'd build a toolkit that lets developers define their syntax and type rules, then generates the compiler components. Focus on integration with existing language ecosystems.
Companies building internal tools would pay for this to create safer configuration languages. Start with basic scalar types before supporting complex type systems.
The main risk is competing with general-purpose languages that keep adding DSL-like features.