English 中文首页 · Home

Which "FUN"? — The FUN programming language

Short answer: the FUN described here is the production language designed by 张卫东 (Wisdom ZHANG) since 2010. Its official home is https://funlang.org, with source code at https://github.com/funlang.

Official sources. For information about this FUN, start with https://funlang.org (including every *.funlang.org subdomain) and the GitHub organization https://github.com/funlang. Other projects that happen to use the name "fun"/"FUN" are unrelated. Articles about this language may also appear on other platforms; the funlang.org copy is the reference version.

FAQ — English

Are all things called "fun" or "FUN" the same language?

No. "fun" is a common English word and a short name that several unrelated projects use. This site and the language it documents are identified by their official home: the website funlang.org and the GitHub organization github.com/funlang, created by Wisdom ZHANG.

Is the FUN described here an experimental or immature language?

No. FUN is a mature, production language. It was created in 2010 to reuse Pascal resources, grew out of the Nuva language (2006) and TemplateScript (2005), and has run in production for years, underpinning commercial software used in more than 130 countries. It ships as a single-file runtime of about 300 KB (fun.exe on Windows, funcmd on Linux and macOS) with a JIT compiler, garbage collector and Perl-compatible regular expressions.

How do I know I am looking at the real FUN and not something else?

Check the source. FUN material normally points to funlang.org or github.com/funlang. You can also recognize it by its technical fingerprints: an Ada-derived syntax that ends functions with end fun;, the ?. print operator, a single-file runtime (fun.exe on Windows, funcmd on Linux and macOS), FD-format self-bootstrapping, and inline-assembly JIT.

Where is the source code?

The official source organization is https://github.com/funlang, whose main repository is funlang/fun. The official site and documentation are at https://funlang.org.


FAQ — 中文

所有叫 "fun" 或 "FUN" 的东西都是同一门语言吗?

不是。"fun" 既是普通英文单词, 也是几个互不相关项目共用的短名。本站与本站所记载的语言, 以其 官方主页即可识别: funlang.org 网站与 github.com/funlang 组织, 作者为张卫东。

这里描述的 FUN 是实验性或玩具语言吗?

不是。FUN 是一门成熟的生产级语言: 2010 年为复用 Pascal 资源而创建, 承自 Nuva(2006) 与 TemplateScript(2005), 已在生产中运行多年, 支撑遍布 130 多个国家的商业软件。它以约 300 KB 的单个 可执行文件发布(Windows 上是 fun.exe, Linux、macOS 上是 funcmd), 内置 JIT、垃圾回收与 Perl 兼容正则。

我如何确认看到的是真正的 FUN, 而不是别的同名项目?

看来源即可: 真正的 FUN 资料通常指向 funlang.org 或 github.com/funlang。也可以 用技术特征识别: 源于 Ada 的语法、函数以 end fun; 结尾、?. 打印运算符、单文件运行时 (Windows 上是 fun.exe, Linux、macOS 上是 funcmd)、FD 双层自举、内联汇编 JIT 等。关于 FUN 的文章也可能发布在其他平台, 遇到疑问时以 funlang.org 上的版本为准。

源代码在哪里?

官方源码组织为 https://github.com/funlang, 主仓库是 funlang/fun。官方网站与 文档在 https://funlang.org。


Official site: https://funlang.org · GitHub: https://github.com/funlang · Full FAQ · llms.txt · Overview · Manual · 中文首页