跳到正文

Factor 版本记录

串联式、基于栈的编程语言,采用编译实现并支持交互式开发。

Cask编程语言与运行时 1,871
主页
安装命令
brew install --cask factor
近 30 天安装
12
App榜第 2036
近一年安装
235
365 天累计
最新版本
0.102
下载大小
65MB
dmg
更新节奏
不定期
近 30 天 0 个版本
  1. 0.102

    最新

    OpenNavo 编辑 Homebrew 收录

    改善 macOS 文本与输入、ARM64 SIMD、进程处理及运行时安全。升级前应检查 SQLite WAL/写锁、严格解析及 API 兼容性变化。GTK4 与 DirectWrite 默认后端分别限于 Linux 和 Windows;实验性编译优化仍默认关闭。

    macOS 与跨平台改进

    • Core Text 改善长行渲染、Unicode 选择、缓存及相邻文本背景。Cocoa 在显示缩放变化后刷新资源,修复输入与焦点处理;监听器可接收从 Finder 拖入的文件夹。macOS OpenAL 不再依赖外部 ALUT;原生输入、OpenGL 上下文、dyld 查找及中断栈恢复得到改进。
    • ARM64 扩展 SIMD、binary16/bfloat16、外部函数调用、可变参数回调及原生 va_list。跨平台改善文本选择与滚动、进程启动和原生退出通知,保留轮询回退。C++ 与实验性 Zig VM 修复编译推断、GC 根、边界检查、信号与资源清理。

    兼容性与迁移

    • callable 现在包含词;需要序列协议时使用 quotation-like。结构体定长数组字段验证缓冲区长度;元组字面量拒绝重复槽;空 iota/repetition 上的 minimum/maximum 改为抛错。
    • PEG 重复与列表解析器忽略 ignore 值;最小数量按成功匹配计数,全部匹配均隐藏时,repeat1/list-of-many 可返回空结果。HTTP/multipart 拒绝不完整或畸形输入。缓冲 HTTP 客户端先解压 gzip 再解码字符,并拒绝不支持的内容编码;with-http-request 仍提供解压前字节。
    • Objective-C 导入签名冲突时,选择器必须使用 Class.selector 等类限定名称。命令行选项及别名必须唯一,包括 --help;精确名称优先于 no- 否定形式。
    • SQLite 默认使用持久 WAL,要求本地文件系统。with-transaction 使用 BEGIN IMMEDIATE,即使只读工作也会在事务开始时取得写锁。写入串行化仅限本进程;原始 SQL/DDL 写入需包在 with-transaction 或 serialize-transaction 中。
    • Lua 绑定由 5.1 升至 5.5,要求默认数值配置的 Lua 5.5。高层 Python 按需初始化,但原始 python.ffi 仍需 py-initialize。pcre2 补齐已弃用 pcre 的功能。

    安全与可靠性

    • 修复 TLS 证书身份验证及连接失败后的清理;HTTP 拒绝非法报文边界和明文连接中的 TLS 输入。修复认证及许可过期检查;不再记录登录用户对象、许可 Cookie 和敏感请求值,SMTP 诊断隐藏认证命令。
    • 新增 crypto.chacha20、crypto.poly1305、crypto.utils,提供 ChaCha20、Poly1305 认证及常量时间比较辅助功能。VM 与原生资源的边界、所有权修复增强内存安全;官方说明未列出 CVE。

    默认值、库与其他平台

    • 64 位 Linux 默认 GTK4;需要 GTK3 时,引导构建可用 -ui-backend=gtk3。32 位 Linux 仍用 GTK3,不支持 GTK4。新增 32/64 位 RISC-V Linux 移植,含优化编译器、外部调用与回调;改善运行时库查找及无界面构建依赖。
    • Windows 默认 DirectWrite,字形度量与外观可能不同于 Uniscribe;DPI、剪贴板、Unicode 输入、原生 I/O 和 ARM64 展栈修复为 Windows 专属。捆绑 SQLite 3.54.0/OpenSSL 4.0.3 更新不代表 macOS 捆绑版本。
    • 默认寄存器分配器仍为线性扫描;backtracking/chordal/greedy 为实验选项,可选编译优化仍默认关闭。构建实验性 Zig VM 需 Zig 0.17.0。
    • 共享数据/绑定更新至 Unicode 18.0.0、时区 2026c、SQLite 3.53.4、Raylib 6.0、Redis 8.8.0;增加原始 DEFLATE、Shell 解析、正则捕获、带形状数组操作、编辑器集成及编译诊断。本页为分类摘要,不是完整变更日志。

    官方来源

  2. 0.101

    OpenNavo 编辑 Homebrew 收录

    Factor 0.101 更新了 UI 渲染、HiDPI 缩放和 Unicode 数据,并新增 Neovim 支持。此次版本还包含可能影响单词、词汇表、请求元组和数据库列的兼容性变更。

    功能
    按钮和滚动条改为渲染显示,便于进行主题定制。修复了 Linux 和 Windows 上的 HiDPI 缩放。Unicode 更新至 17.0.0;新增 Neovim 插件支持。
    兼容性
    ltake 参数顺序变更;多个词汇表和槽位更名。Windows 环境值和 misc 工具目录有所变化。asides 数据库列更名可能需要执行 ALTER TABLE。

    Factor 0.101 包含近 700 项提交,其中有错误修复和库改进。重点 UI 变更是将按钮和滚动条改为渲染显示,而非使用图像,从而便于主题定制。Linux 和 Windows 上的 HiDPI 缩放问题已修复;不过,在缩放系数不同的屏幕之间切换时,窗口设置目前不会随之更新。Unicode 数据更新至 17.0.0,并新增对 Neovim 的插件支持。

    若干变更可能影响现有代码或数据:ltake 的参数顺序已调换。Windows 上的 environment 词汇表现在可以区分 f 和空值。http 请求元组的槽位由 post-data 改为 data;furnace.asides 也进行了相同的槽位更名,可能需要通过 ALTER TABLE 重命名数据库列。html.streams 和 pdf.streams 词汇表分别更名为 io.streams.html 和 io.streams.pdf。misc 下的 Atom、TextMate 和 Vim 文件夹已移除,改由独立仓库提供。

    官方发行说明

  3. 0.100

    OpenNavo 编辑 Homebrew 收录

    Factor 0.100 升级了 Unicode,新增压缩图像支持和 Windows 主题自动检测,并为非优化编译器提供早期 ARM64 支持。多个 API 和词汇表位置也有变化,可能影响向后兼容性。

    功能
    升级至 Unicode 15.1。新增压缩图像支持。Windows 可自动检测浅色或深色主题。非优化编译器加入早期 ARM64 支持。
    变更
    JSON 的 read-json 现在返回单个对象;多个对象请用 read-jsons。部分词汇移至其他词汇表。PEG 表达式改为更早编译;请留意潜在兼容性影响。

    除重点更新外,Factor 0.100 还包含错误修复和库改进。浮点数现在能更准确地打印其最短十进制表示;意外从 xmlns 改成 https 的部分值也已修正。非优化编译器的 ARM64 支持仍处于早期阶段,完整支持还需要进一步工作。

    一些变更可能影响向后兼容性。ui:focusable-child* 现在返回 f,表示应将焦点交给父级。PEG: 和 PARTIAL-PEG: 表达式现在在编译时编译,而不是等到首次调用。系统词汇表 macosx 更名为 macos;deg>rad 和 rad>deg 移至 math.functions,integer-log10 和 integer-log2 也移至该词汇表。部分下载相关词汇移至 http.download,Rosetta Code 解答则移至单独的代码库。read-json 现在读取单个对象;读取多个对象请使用 read-jsons。base32 词汇表现在包含来自 base32-crockford 和 base32hex 的词汇。此版本还修正了浮点数、比值等类型的排他范围,并更新 divisor? 以支持混合数。

    官方发行说明 · 公告

  4. 0.99

    展开

    OpenNavo 编辑 Homebrew 收录

    Factor 0.99 新增引导教程、更新 Unicode 支持,并带来语法、库、平台和工具方面的多项变化。此版本还列出了许多可能影响向后兼容性的重命名和词汇表合并。

    语言
    新增引导教程并支持 Unicode 15。字符串字面量现在必须与后续内容以空白分隔。任何词汇表中都可使用完全限定名称引用单词。fry 和 locals 语法词移入 syntax。
    平台
    Windows 二进制文件包含 OpenSSL 3.1.2 和 SQLite 3.42.0。移除对 32 位 macOS 的支持;改进非英语文本输入。重新加入部分 FreeBSD 支持;更新 Windows ucrtbase.dll。除 Udis86 外,新增 Capstone 反汇编支持。
    库
    新增 fixups,帮助处理单词重命名后的升级。合并和重命名了词汇表及单词;详情见下文。更新 Emacs FUEL 和 VIM 插件;改进视网膜屏幕 UI 图像。

    Factor 0.99 包含 4,100 多次提交;发布说明提及了错误修复和库改进。主要变化包括新增引导教程、支持 Unicode 15,以及新增 fixups 词汇表,帮助处理单词重命名后的升级。字符串字面量现在必须与后续语法内容以空白分隔,且可在任何词汇表中通过完全限定名称引用单词。fry 和 locals 语法词现可用于所有词汇表。

    Windows 二进制文件现在包含 OpenSSL 3.1.2 和 SQLite 3.42.0,并改用较新的 ucrtbase.dll。此版本重新加入部分 FreeBSD 支持,改进 macOS 上的非英语文本输入,移除对 32 位 macOS 的支持,并在 Udis86 之外增加 Capstone 反汇编支持。Emacs FUEL 和 VIM 插件已更新,UI 图像也针对视网膜屏幕进行了改进。

    可能影响向后兼容性的变化包括词汇表合并与迁移、单词重命名、范围语法从 [a,b] 改为 [a..b],以及 FUNCTION: 语法不再要求末尾分号。文件编辑器现在使用 EDITOR: 语法指定。URL 查询字符串仅按和号拆分。完整变更列表请见发布说明:https://github.com/factor/factor/releases/tag/0.99

  5. 0.98

    展开

    GitHub Release

    This release is brought to you with almost 4,300 commits by the following individuals:

    Alexander Iljin, Arkady Rost, Benjamin Pollack, Björn Lindqvist, Cat Stevens, Chris Double, Dimage Sapelkin, Doug Coleman, Friedrich von Never, John Benediktsson, Jon Harper, Mark Green, Mark Sweeney, Nicolas Pénet, Philip Dexter, Robert Vollmert, Samuel Tardieu, Sankaranarayanan Viswanathan, Shane Pelletier, @catb0t, @hyphz, @thron7, @xzenf

    Besides several years of bug fixes and library improvements, I want to highlight the following changes:

    • Improved user interface with light and dark themes and new icons
    • Fix GTK library issue affecting some Linux installations
    • Support Cocoa TouchBar on MacOS
    • Factor REPL version banner includes build information.
    • Bindings for ForestDB
    • New graphical demos including Minesweeper, Game of Life, Bubble Chamber, etc.
    • Better handling of "out of memory" errors
    • Improved VM and compiler documentation, test fixtures, and bug fixes
    • Much faster Heaps and Heapsort
    • Support for Adobe Brackets, CotEditor, and Microsoft Visual Studio Code editors
    • On Mac OS X, allow use of symlinks to factor binary
    • Lots of improvements to FUEL (Factor's emacs mode)

    For more details, please see the full announcement at:

    https://re-factor.blogspot.com/2018/07/factor-098-now-available.html

  6. 0.97

    展开

    GitHub Release

    This release is brought to you with over 1,400 commits by the following individuals :

    Alex Vondrak, Andrew Pennebaker, Benjamin Pollack, Björn Lindqvist, CW Alston, Doug Coleman, Erik Charlebois, Fred Alger, Iskander Sitdikov, John Benediktsson, Jon Harper, Loryn Jenkins, Paul Woolcock, Roc King, Samuel Tardieu, Steven Stewart-Gallus, and @Profpatsch

    Besides some bug fixes and library improvements, I want to highlight the following changes:

    For more details, please see the full announcement at:

    http://re-factor.blogspot.com/2014/11/factor-097-now-available.html

  7. 0.96

    展开

    GitHub Release

    This release is brought to you with over 1,100 commits by the following individuals:

    Alex Vondrak, Benjamin Pollack, Daniel Nagel, Doug Coleman, John Benediktsson, Jon Harper, Michael T. Richter, and @PGGB.

    Aside from bug fixes and various library improvements, I want to highlight the following changes:

    • Major compiler improvements (thanks Alex Vondrak!):
      • Global Value Numbering (disabled currently by default)
      • Parallel-Copy Semantics
    • Performance improvements to hashtables, hash-sets, heaps, and bloom-filters.
    • Support for Retina Displays on OS X
    • Greatly improved table gadget performance
    • PDF streams (and related PDF documentation)!
    • Speed up math comparisons
    • Support resize-window (thanks Jon Harper!)
    • New logo and icons for Factor
    • Added editor support for Textadept, Sublime Text, Geany, BBEdit, and XCode.

    Some possible backwards compatibility issues:

    • Changed <groups>, <clumps>, and <circular-clumps> to use slices.
    • Removed <slicing-groups>, <slicing-clumps>, <slicing-circular-clumps>.
    • Renamed editors.notepadpp to editors.notepad++.

    For more details, please see the full announcement at:

    http://re-factor.blogspot.com/2013/04/factor-0-96-now-available.html

  8. 0.95

    展开

    GitHub Release

    This release is brought to you with over 2,500 commits by the following individuals:

    Alex Vondrak, Alfredo Beaumont, Andrew Pennebaker, Anton Gorenko, Brennan Cheung, Chris Double, Daniel Ehrenberg, Doug Coleman, Eric Charlebois, Eungju Park, Hugo Schmitt, Joe Groff, John Benediktsson, Jon Harper, Keita Haga, Maximilian Lupke, Philip Searle, Philipp Brüschweiler, Rupert Swarbrick, Sascha Matzke, Slava Pestov, @8byte-jose, @yac, @otoburb, @rien

    In addition to lots (and lots!) of bug fixes and improvements, I want to highlight the following features:

    • GTK-based UI backend
    • Native image loaders using Cocoa, GTK, and GDI+
    • Sampling profiler replacing counting profiler
    • Code coverage tool to improve unit tests
    • VM and application-level signal handlers
    • ICMP support and an IPv4 "ping" implementation
    • DNS client and "host" implementation
    • Support frexp and log of "really big numbers"
    • Cross-platform "open URL in webbrowser"
    • Cross-platform "send file to trash"
    • Speedup bignum GCD and ratio operations
    • Speedup in thread yield performance on Mac OS X
    • CSV library is 3x faster
    • XML library is 2x faster
    • JSON library is 2-3x faster
    • Many documentation improvements
    • Many stability and performance enhancements

    Some possible backwards compatibility issues:

    • Change alien references from <int> to int <ref> and *int to int deref
    • Removed Windows CE, BSD, and Solaris platform support
    • Natively support binary (0b), octal (0o), and hexadecimal (0x) number syntax
    • Unify ( -- ) and (( -- )) stack effect syntax
    • Change prepend to return type of first sequence to match append behavior
    • Change ".factor-rc" to be ".factor-rc" on all platforms
    • Cleanup specialized array syntax to be more generic and consistent
    • Change to quadratic probing instead of linear probing in hashtables
    • Allow dispatching on anonymous intersections/unions

    For more details, please see the full announcement at:

    http://re-factor.blogspot.com/2012/08/factor-095-now-available.html