Factor (programming language): Difference between revisions

Content deleted Content added
LittleDan (talk | contribs)
No edit summary
LittleDan (talk | contribs)
mNo edit summary
Line 4:
"Hello world" print
 
Factor is dynamically typed, and a very unique object system accompanies it. In Factor, there are more than 20 base types, and then 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 besides types and tuples: Factor supports [[predicate classesclass]]es and union classes. Among Factor's builtin compound datatypes are [linked list]]s, [[vector]]s and [[hashtable]]s. For numbers, Factor supports [[floating point]], ratios, [[complex numbers]] and arbitrary precision integers.
 
For cases where the stack would be too awkward, Factor gives you [[dynamic scoping]]. Factor has a quickly growing library which already supports [[continuation]]s, an [[Web server|HTTP server]], an [[SDL]] binding and a [[GUI]] library.