cito
所属分类:GPU/显卡
开发工具:C++
文件大小:752KB
下载次数:0
上传日期:2023-06-09 15:31:50
上 传 者:
sh-1993
说明: 编程语言。传输到C、C++、C#、D、Java、JavaScript、Python、Swift、TypeScript和OpenCL C。
(programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.)
文件列表:
.editorconfig (1724, 2023-08-25)
.travis.yml (2221, 2023-08-25)
AST.fu (60725, 2023-08-25)
AssemblyInfo.cs (306, 2023-08-25)
COPYING (35147, 2023-08-25)
ConsoleHost.fu (1150, 2023-08-25)
GenBase.fu (48257, 2023-08-25)
GenC.fu (96100, 2023-08-25)
GenCCpp.fu (6920, 2023-08-25)
GenCCppD.fu (2755, 2023-08-25)
GenCl.fu (9503, 2023-08-25)
GenCpp.fu (49397, 2023-08-25)
GenCs.fu (24096, 2023-08-25)
GenD.fu (38410, 2023-08-25)
GenJava.fu (35715, 2023-08-25)
GenJs.fu (34886, 2023-08-25)
GenPy.fu (32161, 2023-08-25)
GenPySwift.fu (10330, 2023-08-25)
GenSwift.fu (45729, 2023-08-25)
GenTs.fu (8575, 2023-08-25)
GenTyped.fu (6630, 2023-08-25)
Lexer.fu (24741, 2023-08-25)
Makefile (9051, 2023-08-25)
Parser.fu (29293, 2023-08-25)
Sema.fu (67912, 2023-08-25)
debian (0, 2023-08-25)
debian\changelog (268, 2023-08-25)
debian\compat (3, 2023-08-25)
debian\control (351, 2023-08-25)
debian\copyright (214, 2023-08-25)
debian\install (12, 2023-08-25)
debian\rules (231, 2023-08-25)
doc (0, 2023-08-25)
doc\building-fut.md (1257, 2023-08-25)
... ...
[![Travis CI](https://app.travis-ci.com/fusionlanguage/fut.svg?branch=master)](https://app.travis-ci.com/fusionlanguage/fut)
[![GitHub Actions](https://github.com/fusionlanguage/fut/actions/workflows/test.yml/badge.svg)](https://github.com/fusionlanguage/fut/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/fusionlanguage/fut/branch/master/graph/badge.svg?token=M7UX4WJKI3)](https://codecov.io/gh/fusionlanguage/fut)
Fusion Programming Language
===========================
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:
```csharp
public class HelloFu
{
public static string GetMessage()
{
return "Hello, world!";
}
}
```
Then translate into target languages using `fut` on the command line:
```
fut -o hello.c hello.fu
fut -o hello.cpp hello.fu
fut -o hello.cs hello.fu
fut -o hello.d hello.fu
fut -o HelloFu.java hello.fu # Java enforces filenames for public classes
fut -o hello.js hello.fu
fut -o hello.py hello.fu
fut -o hello.swift hello.fu
fut -o hello.ts hello.fu
fut -o hello.d.ts hello.fu # TypeScript declarations only
fut -o hello.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.
Fusion is _not_ a general-purpose programming language.
Instead, it is meant for implementing portable reusable libraries.
See [Getting Started](doc/getting-started.md).
近期下载者:
相关文件:
收藏者: