Japt

From Esolang
Jump to: navigation, search

Japt is a language designed for code-golfing.

Overview

Japt is a compiled language, or specifically, transpiled. Many functions have been shortened to a single letter, and there's no need for the dot before or the left-paren after. Input and output are implicit. See the online interpreter for more documentation.

I/O

Input methods

Input is automatically parsed as numbers, strings, and arrays, then stored in various variables.

Name Value
N Array of inputs
U First input
V Second input
W Third input
X Fourth input
Y Fifth input
Z Sixth input

Output methods

The last evaluated expression (separated by semicolons) is automatically sent to the output. You can also output by using the functions Oo and Op (the latter prints a trailing newline).

Compilers / Interpreters