How should I handle the packaging of this language?

I’ve package the Haxe language, and I like to make it an extension so people can add it to their own Flatpak. The problem is, this language is quite strange when it comes to compiling. It can compile to multiple programming languages: Compiler Targets - Haxe - The Cross-platform Toolkit

Should I just make it a org.freedesktop.Sdk.Extension?