Whenever is an esoteric programming language, created by David Morgan-Mar, which has no sense of urgency. It does things whenever it feels like it, not in any sequence specified by the programmer.
Interpreter in Haskell by Michael Tolly. For language information, see David's website.
Now available to use online via a Haskell-to-JavaScript compiler!
-
Install the Haskell Platform. Or, install
ghc
,cabal
,alex
, andhappy
. -
To build and install:
cd whenever cabal install
By default this will place the executable in
$HOME/.cabal/bin
on Linux, or%appdata%\cabal\bin
on Windows, so optionally add that to your $PATH. -
To run the interpreter:
whenever program.whenever
-
Install GHCJS.
-
To build:
cd whenever/whenever-js cabal configure --ghcjs cabal build
-
Open
dist/build/whenever-js/whenever-js.jsexe/index.html
to run.