esolang

Vesob

HQ9+ with an accumulator you can print, and a way to print your own IP address.

Ivava, 2025 · Turing complete: no · ●○○ easy · esolangs.org

Tested with 4 known programs · Test method

Run it

Expected: Hello, World!

The idea

Ivava made Vesob in 2025 as a daughter of HQ9+. It keeps the commands that print Hello World and the program itself, and +, which adds 1 to the accumulator. It adds commands that take 1 from the accumulator, set it to 0 and print it, a command that prints the length of the program and three commands that print the computer's IP address. Every other character is a comment.

Read the story

Three of its ten commands need a network. This implementation leaves them out, so : and ; stop the run with an error, and so does i when the accumulator is 1.

The machine

CommandDoes
hPrint Hello, World!
qPrint the program
lPrint the length of the program
+ -Add 1, take 1
0Set the accumulator to 0
oPrint the accumulator
iPrint the IP address ipify reports, when the accumulator is 1 (left out)
:Print the IP address ipify reports (left out)
;Print the host's own IP address (left out)

The specification's Python interpreter ends every output with a line feed.

Example

The specification gives the last two as XKCD random numbers.
Expected: 4
Expected: 4

The specification gives the last two as XKCD random numbers. The second is one character shorter. Its first three letters are comments, there only to make the program four characters long for l.

Further

Ideas it shows

Also in Jokes

Write your own in Run Convert a program from Vesob

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: vesob.

Command line

shib run vesob -e 'h'
shib manual vesob

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/vesob.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org