Content deleted Content added
wikilinks |
m disambiguation link repair (You can help!) |
||
Line 4:
"Hello world" print
Factor is dynamically [[datatype|typed]], and a unique [[Object-oriented programming|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 (computer science)|inheritance]], but there is [[Delegation (programming)|delegation]] as in Self. Additionally, there are other ways to make [[Class (computer science)|class]]es other than types or tuples; Factor supports [[predicate class]]es and union classes. Factor's integrated compound datatypes include [[linked list]]s, [[array|vector]]s and [[hash table|hashtables]]. 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.
|