Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 2.17 KB

File metadata and controls

69 lines (46 loc) · 2.17 KB

JoshScript

A language that everyone can learn.

Installation: https://www.youtube.com/watch?v=VGpngPR3lUc

What's New?

JoshScript 1.1 is out and includes some new features including:

  • Notation
  • Organised Joshes
  • Tape Reel

...and more!

Usage

JOSH increases the value by 1

josh decreases the value by 1

Josh multiplies the value by 2

josH divides the value by 2 and rounds down to the nearest integer

JOsh outputs the ascii repr. of the current value

joSH takes input and sets the value to the ascii repr. of the char

jOsh sets the value to 0

JOSh squares the value

JosH outputs the current value

JoSH moves one to the right on the tape reel

joSh moves one to the left on the tape reel

( starts notation space

) ends notation space

Examples

JOSHJoshJoshJoshJoshJoshJoshJOSHJOsh

> A

JOSHJoshJoshJosh (hiya)JoshJoshJoshJOSHJOsh

> A

JOSHJOSHJOSHJoshJoshJoshJoshJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSHJOshJOSH

> 0123456789

JOSHJoshJoshJoshJoshJoshJoshJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshJoshJOSHJOshJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOshJOshJOSHJOSHJOSHJOshjosHjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshJOshjosHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOshjoshjoshjoshjoshjoshjoshjoshjoshjoshjoshJoshJoshjoshJOshJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOshJOSHJOSHJOSHJOshjoshjoshjoshjoshjoshjoshJOshjoshjoshjoshjoshjoshjoshjoshjoshJOshjosHjosHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOSHJOsh

> Hello, World!

Instructions

  1. Edit association.bat and change the path, D:\Documents\Dev\JoshScript\source\JoshScript.py, to the location of JoshScript.py

  2. Open notepad, write a program in JoshScript and hit 'Save As'

  3. Change the file type to 'All Files' and then name your program filename.jsh, filename being whatever name you would like to name your file

  4. When opening the notepad file, open the file with association.bat

Your JoshScript code should now run successfully. (Note that you must have Python 3.6 installed for this to work)