[go: up one dir, main page]

jelscript

0.2.0 • Public • Published

A scripting language that f*cks with you

What is Jellyscript ?

Jellyscript is an esoteric programming language that will screw with your life since it only has 10 commands and can barely even do anything. Jellyscript runs on your browser using HTML and the embeddable Jellyscript's interpreter written in Javascript.

Usage

Install

You can install Jellyscript with:

Github:

git clone https://github.com/nguyenphuminh/Jellyscript.git

NPM:

npm install --save-dev jelscript

Setup

Add this to your .html file:

<script type="text/jellyscript">
  This is where you write your codes
</script>
<script src="jellyscript.min.js"></script>

Or:

<script type="text/jellyscript">
  This is where you write your codes
</script>
<script src="https://unpkg.com/jelscript@0.1.0/jellyscript.min.js"></script>

Syntax

Jellyscript use an array with 100000 cells, every cells starts with the value of 0. Your codes will interact with each cells to work.

Commands

J -> move to the next cell. E -> move to the previous cell. l -> increment the value of the cell by 1. L -> increment the value of the cell by -1. Y -> outputs the ASCII value of the current cell. j -> inputs the value of the current cell. e -> outputs "Hello, World!". y -> outputs "I love Jelly!". _ -> space. - -> new line. S -> outputs Java.

Notes

Any other characters are referred as comments, which will be ignored.

Example

Hello World:

llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
_JlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY
JllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllY

Command line interface

Shows current version:

fls --version

Copyrights and Licenses

This language is licensed under the MIT License

Copyrights © 2020 Nguyen Phu Minh

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i jelscript

      Weekly Downloads

      2

      Version

      0.2.0

      License

      MIT

      Unpacked Size

      46.5 kB

      Total Files

      9

      Last publish

      Collaborators

      • xixdev