Factor (programming language): Difference between revisions

Content deleted Content added
No edit summary
m Changed hash table link to direct link.
Line 4:
"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 classes 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 [[hashtablehash table|hashtables]]s. The language also supports [[floating point]], ratios, [[complex numbers]] and arbitrary precision integers.
 
When using the stack system is does not suffice, [[dynamic scoping]] is a supported alternative. Factor has a growing library which supports [[continuation]]s, an [[Web server|HTTP server]], an [[SDL]] binding and a [[GUI]] library.