IsString Instances

You can do crazy things with {-# LANGUAGE OverloadedStrings #-}.

Functions

Here's the factorial function, of type Double -> Double:

"[dup [dup tor * swap 1 - 3 pick ap] [drop] ifte] 1 rot 3 pick ap"

More details here.

Integers

You can write integers in word form. How useful!

This serves as an elementary example of using Parsec.


EOF