Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
programming-languagelanguagetranspiler
关键指标
Star 增长趋势
Star
1.9k
Forks
70
周增长
—
Issues
42
5001k1.5k
2023年8月2024年1月2024年7月2025年1月2025年7月2026年1月2026年7月
README
Fusion Programming Language
Fusion is a programming language designed for implementing reusable components
(libraries) for C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript
and OpenCL C, all from single codebase.
A "Hello, world" library:
public class HelloFu
{
public static string GetMessage()
{
return "Hello, world!";
}
}
can be translated to all the listed languages with:
fut -o hello.c,cpp,cs,d,java,js,py,swift,ts,cl hello.fu
The translated code is lightweight (no virtual machine, emulation nor
dependencies), human-readable and fits well with the target language,
including naming conventions and documentation comments.