Factor Programming Language Article Index for
Factor
Website Links For
Factor
 

Information About

Factor Programming Language




Like other concatenative languages, Factor has a Postfix syntax, meaning that you write the arguments of a function before the function name. As an example, Hello World in Factor is
"Hello world" print

Factor is dynamically Typed , and a unique Object system accompanies it. In Factor, there are more than 20 base types, and users can make their own datatypes using tuples. There is no Inheritance , but there is Delegation as in Self. Additionally, there are other ways to make Class es other than types or tuples; Factor supports Predicate Class es and union classes. Factor's integrated compound datatypes include Linked List s, Vector s and Hashtables . The language also supports Floating Point , ratios, Complex Numbers and arbitrary precision integers.

When using the stack system does not suffice, dynamic Scoping is a supported alternative. Factor has a growing library which supports Continuation s, an HTTP Server , an SDL binding and a GUI library.

One of Factor's main goals is to be useful for interactive and test-driven development, which is why Factor is, at its core, a safe version of Forth.

So far, both Java and C implementations have been constructed (the Java implementation is deprecated).


EXTERNAL LINKS