[go: up one dir, main page]

Skip to content
/ fut Public
forked from fusionlanguage/fut

Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.

License

Notifications You must be signed in to change notification settings

iAndyHD3/fut

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis CI GitHub Actions codecov

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.

Check out Fusion Playground in your browser.

For further instructions, see Getting Started.

About

Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 37.5%
  • C# 30.6%
  • JavaScript 30.4%
  • Makefile 0.5%
  • TypeScript 0.4%
  • Java 0.4%
  • Other 0.2%