Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DennisMitchell/jellylanguage
Jelly is a recreational programming language inspired by J.
https://github.com/DennisMitchell/jellylanguage
Last synced: 1 day ago
JSON representation
Jelly is a recreational programming language inspired by J.
- Host: GitHub
- URL: https://github.com/DennisMitchell/jellylanguage
- Owner: DennisMitchell
- License: mit
- Created: 2015-12-04T04:57:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T13:58:58.000Z (about 4 years ago)
- Last Synced: 2024-08-03T15:15:08.802Z (3 months ago)
- Language: Python
- Homepage:
- Size: 1.07 MB
- Stars: 859
- Watchers: 39
- Forks: 47
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - DennisMitchell/jellylanguage - Jelly is a recreational programming language inspired by J. (Python)
README
# Jelly
Jelly is a golfing language inspired by J.
### Documentation
* [Tutorial]
* [Code page]
* [Atoms]
* [Quicks]
* [Syntax]### Quickstart
The Jelly interpreter requires Python 3.
To download, install, and use Jelly, proceed as follows.
```
$ git clone -q https://github.com/DennisMitchell/jellylanguage.git
$ cd jellylanguage
$ pip3 install --upgrade --user .
$ jelly eun '“3ḅaė;œ»'
Hello, World!
$ jelly eun '×' 14 3
42
$ jelly
Usage:jelly f [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.jelly fu [input] Reads the Jelly program stored in the
specified file, using the UTF-8 encoding.jelly e
[input] Reads a Jelly program as a 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.jelly eu
[input] Reads a Jelly program as a 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.Append an `n` to the flag list to append a trailing newline to the
program's output.Visit http://github.com/DennisMitchell/jellylanguage for more information.
```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.
[Atoms]: https://github.com/DennisMitchell/jellylanguage/wiki/Atoms
[Code page]: https://github.com/DennisMitchell/jellylanguage/wiki/Code-page
[Jelly interpreter]: https://tio.run/#jelly
[Quicks]: https://github.com/DennisMitchell/jellylanguage/wiki/Quicks
[Syntax]: https://github.com/DennisMitchell/jellylanguage/wiki/Syntax
[Try It Online]: https://tryitonline.net
[Tutorial]: https://github.com/DennisMitchell/jellylanguage/wiki/Tutorial