Joy (programming Language) - Mathematical Purity

Mathematical Purity

In Joy, the meaning function is a homomorphism from the syntactic monoid onto the semantic monoid. That is, the syntactic relation of concatenation of symbols maps directly onto the semantic relation of composition of functions. It is a homomorphism instead of an isomorphism because it is onto but not one-to-one, that is, some sequences of symbols have the same meaning (e.g. "dup +" and "2 *") but no symbol has more than one meaning.

In other words, "The concatenation of two programs denotes the composition of the functions denoted by the two programs".

Its library routines mirror those of ISO C, though the current implementation is not easily extensible with functions written in C.

Read more about this topic:  Joy (programming Language)

Famous quotes containing the words mathematical and/or purity:

    “What is history? Its beginning is that of the centuries of systematic work devoted to the solution of the enigma of death, so that death itself may eventually be overcome. That is why people write symphonies, and why they discover mathematical infinity and electromagnetic waves.”
    —Boris Pasternak (1890–1960)

    “Hoping that, when the devil days of my hurt
    Drag out to their last dregs and I resume
    On such legs as are left me, in such heart
    As I can manage, remember to go home,
    My taste will not have turned insensitive
    To honey and bread old purity could love.”
    —Gwendolyn Brooks (b. 1917)