https://github.com/fusionlanguage/fut
Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
https://github.com/fusionlanguage/fut
language programming-language transpiler
Last synced: 3 days ago
JSON representation
Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
- Host: GitHub
- URL: https://github.com/fusionlanguage/fut
- Owner: fusionlanguage
- License: gpl-3.0
- Created: 2019-10-20T18:07:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-03T18:59:11.000Z (11 days ago)
- Last Synced: 2025-04-04T08:37:04.573Z (10 days ago)
- Topics: language, programming-language, transpiler
- Language: C++
- Homepage: https://fusion-lang.org
- Size: 7.06 MB
- Stars: 1,798
- Watchers: 30
- Forks: 57
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome - fusionlanguage/fut - Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C. (C++)
- awesome-programming-languages - Fusion - Fusion is a programming language which can be translated automatically to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C. Instead of writing code in all these languages, you can write it once in Fusion. [Transpiler] (Uncategorized / Uncategorized)
README
[](https://app.travis-ci.com/fusionlanguage/fut)
[](https://github.com/fusionlanguage/fut/actions/workflows/test.yml)
[](https://codecov.io/gh/fusionlanguage/fut)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:
```csharp
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](https://fusion-lang.org/playground) in your browser.
For further instructions, see [Getting Started](doc/getting-started.md).