LJAPL

From Esolang
Jump to navigation Jump to search

LJAPL (or Literally Just A Programing Language) is a "APL-like" language made by User:Ractangle, and is also Array?'s predecessor

Commands

Command Action
0-a Push a number
| Halt the program
n Output as number
c Output as a charecter
+ Add the two TOS's
* Multiply the two TOS's
= Duplicate the TOS
; Move the BOS to the top

Examples

Hello world

Outputs the characters Hello, world!

5a6*+6a+4a2*+3a*7a2*+5a3*+2a+5a7*+7a2*+4a2*+=7a+6a4*+ccccccccccccc

Due to the non-standard encoding used, 65 → ! instead of 33.

Implementation