NOTE: test site
Edit your Fexl program here:
# Here are various ways of expressing an infinite loop.
# The fixpoint of the identity function.
# This one is worse, because it overflows the stack. It's the fixpoint of the
# fixpoint function!
# This is a really nasty one. It uses an endlessly increasing amount of
# memory. If I run it on my own machine without imposing a memory limit on
# it, it eats up gigabytes of memory and brings the machine to a crawl until
# *finally* it mercifully terminates when it hits the default ulimit in Linux.
# I like to call it the "metastasis" function.
\S=(\x\y\z x z; y z) # define the "fusion" operator
@ S S S # Now apply the fixpoint to the fusion operator in a weird way.
# Here we run the infinite loop, though it does terminate because we've used
# "ulimit" to limit CPU time and memory.