Skip to content

mtolly/whenever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whenever

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!

Installation (library and command line app)

  1. Install the Haskell Platform. Or, install ghc, cabal, alex, and happy.

  2. 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.

  3. To run the interpreter:

    whenever program.whenever
    

Web/JavaScript interface

  1. Install GHCJS.

  2. To build:

    cd whenever/whenever-js
    cabal configure --ghcjs
    cabal build
    
  3. Open dist/build/whenever-js/whenever-js.jsexe/index.html to run.

About

Interpreter for a language based on random control flow

Resources

License

Stars

Watchers

Forks

Packages

No packages published