This gist is meant to track backwards incompatible changes in PicoLisp, and provide simple hacks to ensure backwards compatibility with older versions.
- (local) syntax changes
- (local) is now undefined in 32-bit
- (local) [doesn't accept parameters in 64-bit]
(and (>= (version T) (17 3 4)) (== 64 64) (from "######"))
(undef 'local)
(de local () (mapc zap (read)))
######
This checks if the running version is 64-bit and newer/equal to v17.3.4 if yes, it defines a new (local) which allows the new syntax to work on older versions of PicoLisp