We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Japt

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

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