These are the release notes for the beta test channel for SwiftForth-ARM64 for Windows, Linux, and macOS. See the Installation Notes for the beta versions at the end of this post.
SwiftForth 4.2.0-RC24 15-Nov-2026
- Fixed an issue in legacy
LOCALS|for ARM64 - Updated ARM64 loaders and code page updates to use offset between code and data instead of second pointer, freeing
X20 - Repurposed
X20asOP(Object Pointer) for local objects. This is a work in progress and subject to change. - Added
OPERATOR'S(useOPERATORtask’s terminal personality vector table) toCALLBACKentry
SwiftForth 4.2.0-RC23 11-Nov-2026
- Moved callback arguments access from user variable
'WFto registerX29(FP– frame pointer) - Added
FPas alias forX29to assembler and disassembler - Added
REG_FPto exception frame dump - Added provision for both integer and floating-point locals automatically initialized from
_PARAM_nand_FPARAM_narguments inside callbacks (floating-point callback locals not supported oni386) - Fixed
LRpush/pop optimization in colon definitions to excludeADRPopcodes
SwiftForth 4.2.0-RC22 06-Nov-2026
- Improved the
MVImacro in ARM64 assembler - Removed
ALIASmacro from ARM64 assembler - Converted all uses of
ALIASto just use offset from code to data space - Improved ARM64 optimizer rules for variables
- Added
@DATAPAGEhelper (page offset from code to data space) in ARM64 assembler for use withADRP - Fixed ARM64 callback runtime to read the callback Forth word’s xt from data space instead of code space
- Added
IS-CALLBACKto redirect a callback’s xt
SwiftForth 4.2.0-RC21 09-Oct-2026
- Added
ADRPto assembler and disassembler - Added
@PAGEand@PAGEOFFto assembler as helpers for ADRP - Improved Linux and macOA ARM64 callbacks using SP to access stacked params
- Fixed Linux ARM64
FUNCTION:inlining of variadic arguments - Added callback locals. Use
{{:instead of{:to automatically initial the args section* of the callback declaration with_PARAM_args passed to callback - Added local buffers to the right (vals) side* of local variable declarations.
Example:{: a b c | d[ 2 CELLS ]— buffer d[ is allocated with a size of2 CELLS. The value between the brackets can be any expression that yields exactly one number on the stack. - Updated code and data memory organization for all ARM64 loaders
*See the Forth Standard for the locals syntax.
SwiftForth 4.2.0-RC19 09-Oct-2026
- Reorganized time/date/timing functions. This is still a work in progress.
- Updated macOS installer to offer the option “Install for all users…” or “Install for me only.” The “all users” option installs SwiftForth in /Applications and the sf and sfk symlinks in /usr/local/bin and requires an admin password to proceed. The “me only” option installs SwiftForth in ~/Applications, the symlinks in ~/bin, and should not require a password as everything is in your user space. Previous installers were only “all users” so if you change to “me only” this time, you’ll need to delete the old install. The .pkg installer does not do that automatically.
SwiftForth 4.2.0-RC18 04-Oct-2026
- Extended
LDRB,LDRH,STRB, andSTRHin ARM64 assembler and disassembler to include register form (same as LDR) - Added
2PUSHS,2PUSHR,2POPS, and2POPRARM64 assembler macros for register pairs (usingSTP,LDP) - Added ARM64 optimizer rules for loop index operations
- Updated Linux
GET-TIMEto use timeval struct class - Added
CPUTIMEfor timing compatibility with Gforth - Added
WARNINGSalias forWARNINGfor compatibility with Gforth
SwiftForth 4.2.0-RC17 01-Oct-2026
- Code signed Mac binaries and installers with new certificates using Apple G2 intermediate certificate
- Moved
QBUFbuffers from dictionary to space fromALLOCATE - Expanded size and number of
QBUFslots from 128 to 1024 each, total of 64 buffers
SwiftForth 4.2.0-RC16 29-Sep-2026
- Added missing +TO method for FVALUE
- Added missing &OF method for FVALUE
SwiftForth 4.2.0-RC15 28-Sep-2026
- Fixed
+TOfor floating-point locals
SwiftForth 4.2.0-RC14 25-Sep-2026
- Added
?OFfor use inCASEstructures. Usage:<flag> ?OF ... ENDOF - Fixed bug in
FVALUE - Fixed return stack allocation in i386 and x64 floating-point locals
SwiftForth 4.2.0-RC13 24-Sep-2026
- Removed outdated reference to
-MATCHin blockedit - Extended
LDPandSTPin ARM64 assembler and disassembler to handle pairs of X, W, D, or S registers - Added
_FPARAM_0thru_FPARAM_7for callback floating-point parameter access in ARM64 - Added floating-point local variables. Use
F:inside the{: ... :}declaration (as in other popular Forth systems) to indicate that the next local variable is floating-point. - Extended max allowed locals to 32 (was 16)
- Extended
FUNCTION:to permit returning up to 2 ints and up to 2 floats/doubles. - Callbacks now return both the top of data stack and top of floating point stack to the caller (ignored if not used)
- Fixed floating-point memory reference instructions in x64 assembler for registers R8..R15
SwiftForth 4.2.0-RC12 20-Sep-2026
- Fixed
.IMM19display in ARM64 disassembler for negative offsets - Improved ARM64
CALLBACK:and addedFORTHCALLBACK:as a convenience - Updated documentation for
R-ALLOCandR-BUF(see block comments in source) - Updated R-BUF to consistently use
PATH_MAXsystem constant
SwiftForth 4.2.0-RC11 19-Sep-2026
- Added F2SWAP and FTUCK to ARM64 floating-point
- Added block comments delimited by (* and *)
SwiftForth 4.2.0-RC10 18-Sep-2026
- Improved SLOT in the optional DBSS package
- Implemented “mirror” code space on Linux and Windows (same as on macOS but without RW^X restriction)
- Fixed 2DUP-COMP and 2OVER-COMP optimizer rules for ARM64
- Updated Windows loaders to use custom .forth section instead of .data for better control over link process
SwiftForth 4.2.0-RC9 14-Sep-2026
- Fixed S>F, D>F, and F>D in i386 floating-point support
- Reorganized SwiftForth/src/arch/i386/ide directories
SwiftForth 4.2.0-RC8 10-Sep-2026
- Added
FRINTPto ARM64 assembler and disassembler - Added
FROUNDUPto ARM64 floating-point support - Merged ARM64 and Intel floating-point math support
- Updated both x64 and i386 versions of EXT-INLINE to correctly handle mixed and variadic arguments in external function calls
SwiftForth 4.2.0-RC7 04-Sep-2026
- Added symlink /usr/local/bin/sf-sign for macOS ad-hoc code signing script. All programs generated by SwiftForth ARM64 for Apple Silicon must be code signed with the sf.plist entitlements or they will be killed by the macOS hardened runtime environment. The sf-sign script takes care of all the paths; just call it from whatever directory you’re in and give it the name (or path to) the executable to be signed. This is an ad-hoc signature, suitable for personal use. (For distribution, you’ll need Apple code signing certificates — one for the app, one for the installer package).
- Rearranged source for released.f to common location
SwiftForth 4.2.0-RC6 26-Aug-2026
- Updated blocks and dbss options for compatibility
- Added variadic arg support for
FUNCTION:prototypes (Linux and macOS) - Updated Linux loaders
- Force 64-bit cell alignment for dictionary code and parameter fields
- Updated all
ST_MODEoffsets for their respective platform differences - Added U*/ in ARM64 math functions
- Fixed offset error in
2C@ - Removed some duplicate API functions in Windows version
- Updated
ASSIGNfor compatibility
SwiftForth 4.2.0-RC5 21-Aug-2026
- Fixed decode of some variants of
LDRin the disassembler - Fixed stack allocation in
((ACTIVATE))for Windows ARM64 task startup - Renamed
CACHE-FLUSHtoCODE-FLUSHto better reflect its purpose - Added variable optimization rules to the code optimizer
- Fixed a bug in the defining part of
SYNONYM(thanks, Bruno!)
SwiftForth 4.2.0-RC4 20-Aug-2026
- Fixed bug in EMPTY (thanks, Allen!)
- Reworked macOS code space image to allow it to run on M2 and higher Apple Silicon
- Added
com.apple.security.cs.allow-jitentitlement to support mmap() with MAP_JIT in SwiftForth loader - Improved ARM64 cache flushing on all platforms
SwiftForth 4.2.0-RC3 16-Aug-2026
- Added
com.apple.security.get-task-allowto the entitlements for the macOS binaries to allow attaching LLDB for debugging. - Improved the optimization in ; that removes prolog/epilog from : definitions with no relative position dependencies.
SwiftForth 4.2.0-RC2 15-Aug-2026
- The macOS installer package builder had a missing “arm64” architecture specification, which could result in linking to the x64 executables if the package installer runs under Rosetta. Thanks to David McClain for helping track this down.
- Added the missing LC_UUID command in its Mach-o headers to the SwiftForth macOS loader.
- Fixed the macOS architecture test syntax in the postinstall script.
SwiftForth 4.2.0-RC1 15-Aug-2026
- Initial Beta release
Installation Notes
Windows
SwiftForth for Windows is supplied as a Windows installer. It will use a different default installation path from your existing SwiftForth install to keep it separate for testing.
SwiftForth-ARM64 requires Windows 11 for ARM64.
macOS
SwiftForth for macOS is supplied as an Apple installer package. After you download it, run the .pkg installer. It will install in your Applications folder as /Applications/ForthInc-Beta/SwiftForth. It will also add symlinks in /usr/local/bin so you can run sf and sfk from any Terminal session.
SwiftForth-ARM64 requires macOS for Apple Silicon.
Linux
SwiftForth for Linux is supplied as a tarball. After you download it, cd to the location in which you want it expanded (should be a different directory from your current SwiftForth) and unpack the tarball:
cd <new SwifForth parent directory>
tar -xzf <path to downloaded tarball>
Then cd to the new SwiftForth directory and run the install.sh script. It will install sf and sfk symlinks from /usr/local/bin back to the SwiftForth/bin/linux. It will also remove any ~/bin/sf* symlinks (so restore those later if needed).
cd SwiftForth
./install.sh
When you run sf from the command line, you should see this:
~$ sf
SwiftForth ARM64-<os> 4.2.0-RCnn <date>
Bug Reports
Please report any and all issues to [email protected]. Include as many details as possible. Screenshots are great!