Skip to content
项目

关于

Fusion 编程语言。可转译为 C、C++、C#、D、Java、JavaScript、Python、Swift、TypeScript 和 OpenCL C。

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
-2
15天
0
1个月
+2

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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 a 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, or dependencies) and human-readable, and it 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.

探索相关项目

加载中…