Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
See the codeFusion 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.
Check out Fusion Playground in your browser.
For further instructions, see Getting Started.
(top 24 of 54)
824 followers · starred Apr 2024
606 followers · starred Oct 2021
653 followers · starred Oct 2021
140 followers · starred Aug 2023
Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
See the codeFusion 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.
Check out Fusion Playground in your browser.
For further instructions, see Getting Started.
(top 24 of 54)
824 followers · starred Apr 2024
606 followers · starred Oct 2021
653 followers · starred Oct 2021
140 followers · starred Aug 2023