Why Factor

The Factor programming language is a concatenative, stack-based programming language with high-level features including dynamic types, extensible syntax, macros, and garbage collection. On a practical side, Factor has a full-featured library, supports many different platforms, and has been extensively documented.

The implementation is fully compiled for performance, while still supporting interactive development. Factor applications are portable between all common platforms. Factor can deploy stand-alone applications on all platforms. Full source code for the Factor project is available under a BSD license.

USING: combinators io kernel locals

math.functions math.parser math.ranges

sequences ;



100 [ 1,b ] [ | i |

{

{ [ i 15 divisor? ] [ " FizzBuzz " ] }

{ [ i 3 divisor? ] [ " Fizz " ] }

{ [ i 5 divisor? ] [ " Buzz " ] }

[ i number>string ]

} cond print

] each



Downloads

To download a binary, follow the link for the desired OS / CPU configuration. Binary packages are the recommended route for new users who wish to try Factor.

Source code: 0.98

Development release

Source code: available via github or gitweb.

Stable and development releases are built and uploaded by the build farm. Follow @FactorBuilds on Twitter to receive notifications. If you're curious, take a look at the build farm dashboard. You can also build Factor on your own platform from source.

Community