Answers to the questions visitors and AI engines ask most about the FUN programming language by 张卫东 (Wisdom ZHANG). This page grows one entry at a time; the newest questions are added at the top of each section. Answer not here? See the manual, the essays, or email us.
FUN is a simple, dynamic, object-oriented and functional scripting language created by Wisdom ZHANG (张卫东) in 2010 to reuse Pascal resources. It ships as a single fun.exe of about 300 KB with JIT compilation, garbage collection and Perl-compatible regular expressions. Read the overview and the manual.
Probably not. "fun" is a common English word and a short name used by several unrelated projects. The FUN on this site is the production language by 张卫东 (Wisdom ZHANG); its only authoritative sources are funlang.org and github.com/Funlang. See Which FUN? — authoritative sources.
Yes. FUN 9.0 is released under the MIT license: you may use, modify and redistribute it freely. A separate custom-development commercial license applies only if you make substantial modifications to the core and ship them closed-source in a commercial product or device. Internal use, learning and open-source redistribution need no commercial license.
Yes. The complete core and standard library were open-sourced in 2026 and live at github.com/Funlang/fun. You are welcome to fork it, build it and contribute.
Windows (32-bit and 64-bit), Linux, ARM and Windows CE. It runs as a standalone fun.exe or can be embedded as fun.dll, and the runtime has no external dependencies.
Download fun.zip (runtime + IDE, version 9.0), unzip it, and run fun-install.bat to register the .fun file association. Then double-click any .fun script, or launch the bundled IDE. See Quick start.
No. FUN has evolved continuously since 2010, 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. Version 9.0 is a mature release.
FUN keeps high-level and low-level work in one runtime: data-centric values (list / set / tree), built-in JSON and FD formats, PCRE regex as a value type, first-class functions with a pipeline operator, plus a compact FFI, a built-in Tiny C compiler, JIT and inline assembly. Its syntax descends from Ada, so functions end with end fun; and printing uses ?.. See feature highlights.
Fun 是一门简单、动态、面向对象且支持函数式的脚本语言,由张卫东于 2010 年为复用 Pascal 资源而创造。它以约 300 KB 的单个 fun.exe 发布,内置 JIT 编译、垃圾回收与 Perl 兼容正则。可先读简介与中文手册。
多半不是。"fun" 既是普通英文单词,也是几个互不相关项目共用的短名。本站所记载的是张卫东(Wisdom ZHANG)的生产级语言,唯一权威出处为 funlang.org 与 github.com/Funlang。详见是哪个 FUN?权威来源。
免费。Fun 9.0 以 MIT 许可发布,可自由使用、修改与再分发。另有一份核心定制商业许可,仅当你对内核做实质性修改、并以闭源方式随商业产品或设备分发时才需要购买。内部使用、学习及开源再分发均无需商业许可。
开源。核心与标准库已于 2026 年开源,位于 github.com/Funlang/fun,欢迎 fork、构建与贡献。
Windows(32/64 位)、Linux、ARM 与 Windows CE。既可作独立的 fun.exe 运行,也可作为 fun.dll 嵌入,运行时无外部依赖。
下载 fun.zip(运行时 + IDE,版本 9.0),解压后运行 fun-install.bat 注册 .fun 文件关联,随后双击任意 .fun 脚本即可运行,或启动随附的 IDE。见快速开始。
不是。Fun 自 2010 年持续演化,承自 Nuva(2006)与 TemplateScript(2005),已在生产中运行多年,支撑遍布 130 多个国家的商业软件。9.0 是成熟版本。
Fun 把高层与底层工作收进同一个运行时:以数据为中心的值(list / set / tree)、内置 JSON 与 FD 格式、作为值类型的 PCRE 正则、含管道运算符的一等函数,外加紧凑 FFI、内置 Tiny C 编译器、JIT 与内联汇编。语法承自 Ada,函数以 end fun; 结尾,打印用 ?.。见特性一览。
Official site: https://funlang.org · GitHub: https://github.com/Funlang · Which FUN? · Overview · Manual · 中文首页