/jelly

Jelly is a recreational programming language inspired by J.

Primary LanguagePythonMIT LicenseMIT

Jelly

Jelly is a golfing language inspired by J.

Please note that Jelly is currently under development; features will change or disappear without prior notice.

Getting started

The Jelly interpreter requires Python 3, NumPy and SymPy.

To execute a Jelly program, you have three options:

  1. jelly f <file> [input] reads the Jelly program stored in the specified file, using the Jelly code page.

    This option should be considered the default, but it exists solely for scoring purposes in code golf contests.

  2. jelly fu <file> [input] reads the Jelly program stored in the specified file, using the UTF-8 encoding.

  3. jelly e <code> [input] reads the Jelly program as command line argument, using the Jelly code page.

    This requires setting the environment variable LANG (or your OS's equivalent) to en_US or compatible.

  4. jelly eu <code> [input] reads the Jelly program as command line argument, using the UTF-8 encoding.

    This requires setting the environment variable LANG (or your OS's equivalent) to en_US.UTF8 or compatible.

Alternatively, you can use the Jelly interpreter on Try it online!

Jelly's main input method is via command line arguments, although reading input from STDIN is also possible.

Documentation