Jump to content

Factor (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Danakil (talk | contribs) at 23:07, 10 August 2004 (a concatenative prog lang , à la Joy, FORTH). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Factor is a concatenative programming language designed and implemented by Slava Pestov.

Factor's main influences are Joy, FORTH, and Lisp.

Some of its key features include:

   * Postfix syntax
   * Dynamic typing
   * Dynamic scoping
   * Primary compound data types are linked lists, vectors, and namespaces (lists of name/value pairs)
   * Rich math library including floating point, ratios, complex numbers
   * Continuations
   * Integrated HTTP server
   * Focus on interactive and test-driven development 

There are two implementations of Factor:

  • an interpreter/compiler written in Java
  • a (somewhat incomplete) interpreter written in C