# Factor

A concatenative, stack-based programming language with interactive development and a compiled implementation.

> This is the Markdown version of the Factor page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/factor>

- **Latest version**: `0.102`
- **Homepage**: <https://factorcode.org/>
- **Categories**: [Languages & Runtimes](https://opennavo.com/categories/languages)
- **Install**: `brew install --cask factor`
- **30-day installs**: 12
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://downloads.factorcode.org/releases/0.102/factor-macos-arm-64-0.102.dmg>
- **SHA-256**: `d0ee7ac4934b6b6c7755f026d8e82e8669e75dd9e41f95f71a1e02912ca8ef95`

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

To use factor, you may need to add the $APPDIR/factor directory to your PATH environment variable, e.g. (for Bash shell): export PATH=$APPDIR/factor:"$PATH"

## Installation and removal contents

```json
[
  {
    "declaration": {
      "suite": [
        "factor"
      ],
      "target": "/Applications/factor"
    },
    "phase": "install",
    "sources": [
      "factor"
    ],
    "target": "/Applications/factor",
    "type": "suite"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Caches/org.factorcode.Factor",
            "~/Library/Preferences/org.factorcode.Factor.plist",
            "~/Library/Saved Application State/org.factorcode.Factor.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Factor combines a concatenative, stack-based model with dynamic types, extensible syntax, macros and garbage collection. Its compiled implementation also supports interactive development, a substantial library, extensive documentation and deployment of standalone applications.

Install with `brew install --cask factor`. The cask installs the `factor` suite in `/Applications/factor`; add that directory to `PATH` to run it from a shell. The current cask selects native `arm-64` for Apple silicon and `x86-64` for Intel Macs; it no longer requires Rosetta. Stable and development releases are offered separately.

https://factorcode.org/
https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/f/factor.rb

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 0.102 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · Checked 2026-11-28
  - <https://downloads.factorcode.org/releases/0.102/factor-macos-x86-64-0.102.dmg>
  - SHA-256: `30eef67f68232453761f56162510ed96cc020e7bde16ddb244077042c7564faf`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 0.102 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · Checked 2026-11-28
  - <https://downloads.factorcode.org/releases/0.102/factor-macos-arm-64-0.102.dmg>
  - SHA-256: `d0ee7ac4934b6b6c7755f026d8e82e8669e75dd9e41f95f71a1e02912ca8ef95`

## Factor security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/factor/factor> · Open source: Yes — <https://github.com/factor/factor> · Checked 2026-11-13

## Uninstall

- `brew uninstall --cask factor`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask factor`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Caches/org.factorcode.Factor` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · These entries come from the Homebrew definition, checked 2026-11-28. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/org.factorcode.Factor.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · These entries come from the Homebrew definition, checked 2026-11-28. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/org.factorcode.Factor.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · These entries come from the Homebrew definition, checked 2026-11-28. They say what it declares, not what is on your Mac.

## Latest release notes

### 0.102 (2026-10-13)

Improved macOS text and input, ARM64 SIMD, process handling and runtime safety. Review SQLite WAL/write-lock changes, stricter parsers and API compatibility. GTK4 and DirectWrite defaults apply to Linux and Windows respectively; experimental compiler optimizations remain off.

#### macOS and shared improvements

- Core Text improves large-line rendering, Unicode selection, caching and adjacent backgrounds. Cocoa refreshes resources after display-scale changes and fixes input/focus handling; Finder folders can be dropped into the listener. OpenAL no longer needs an external ALUT library on macOS. Native input, OpenGL contexts, `dyld` lookup and interrupted-stack recovery are improved.
- ARM64 gains SIMD, binary16/bfloat16 operations, better foreign calls and variadic callbacks with native `va_list`. Text selection and scrolling, subprocess launching and native exit notifications improve across platforms, with polling fallback. Compiler inference, GC roots, bounds checks, signals and resource cleanup are corrected in the C++ and experimental Zig VMs.

#### Compatibility and migration

- `callable` now includes words; use `quotation-like` when a sequence protocol is required. Fixed-array struct fields validate buffer lengths. Tuple literals reject duplicate slots; `minimum`/`maximum` throw for empty `iota`/`repetition`.
- PEG repetition/list parsers omit `ignore`; minimum counts measure successful matches, so `repeat1`/`list-of-many` may produce empty output when every match is hidden. HTTP/multipart reject malformed or incomplete input. Buffered HTTP decompresses gzip before character decoding and rejects unsupported content codings; `with-http-request` still exposes bytes before decompression.
- Ambiguous Objective-C signatures require class-qualified selectors such as `Class.selector`. Command-line names/aliases must be unique, including `--help`; exact names precede `no-` negation.
- SQLite now uses persistent WAL, requiring a local filesystem. `with-transaction` starts `BEGIN IMMEDIATE`, taking the write lock even for read-only work. Serialization is per process: wrap raw SQL/DDL writes in `with-transaction` or `serialize-transaction`.
- Lua bindings move from 5.1 to 5.5 and require Lua 5.5 with its default numeric configuration. Raw `python.ffi` still needs `py-initialize`; high-level Python initializes lazily. `pcre2` gains features from deprecated `pcre`.

#### Security and reliability

- TLS certificate-identity checks and secure-connection cleanup are fixed. HTTP rejects invalid framing and TLS input on plain HTTP connections. Authentication/permit expiry handling is corrected; login objects, permit cookies and sensitive request values are no longer logged, and SMTP authentication commands are redacted.
- New `crypto.chacha20`, `crypto.poly1305` and `crypto.utils` provide ChaCha20, Poly1305 authentication and constant-time comparison helpers. VM/native bounds and ownership fixes strengthen memory safety; these notes do not identify a CVE.

#### Defaults, libraries and other platforms

- 64-bit Linux defaults to GTK4; bootstrap with `-ui-backend=gtk3` if needed. 32-bit Linux stays on GTK3 and cannot use GTK4. New 32/64-bit RISC-V Linux ports include optimizing compilers and foreign calls/callbacks. Linux runtime-library discovery and headless build dependencies improve.
- Windows defaults to DirectWrite, so metrics/appearance can differ from Uniscribe. DPI, clipboard, Unicode input, native I/O and ARM64 unwinding fixes are Windows-specific; bundled SQLite 3.54.0 and OpenSSL 4.0.3 updates are not macOS bundle claims.
- Linear scan remains the default register allocator; backtracking/chordal/greedy allocators are experimental, and optional compiler optimizations remain disabled. Building the experimental Zig VM requires Zig 0.17.0.
- Shared data/bindings update to Unicode 18.0.0, timezone 2026c, SQLite 3.53.4, Raylib 6.0 and Redis 8.8.0. New tools/libraries include raw DEFLATE, shell parsing, regex captures, shaped-array operations, editor integration and compiler diagnostics. These are categorized release summaries, not a full changelog.

#### Official sources

- https://api.github.com/repos/factor/factor/releases/tags/0.102
- https://factorcode.org/
- https://re.factorcode.org/2026/10/factor-0-102-now-available.html
- https://downloads.factorcode.org/releases/0.102/factor-macos-x86-64-0.102.dmg

## Facts and sources

- <https://opennavo.com/apps/factor>
- <https://opennavo.com/apps/factor/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/f/factor.rb> · Checked 2026-11-28
- <https://formulae.brew.sh/cask/factor>
- <https://github.com/factor/factor> · Checked 2026-11-13
