qualm

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.
This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.
qualm
Paradigm(s) imperative
Designed by User:Wilfreddv
Appeared in 2021
Memory system Cell-based
Dimensions one-dimensional
Computational class Turing complete
Major implementations qualm
File extension(s) .qualm

qualm is an esoteric programming language designed and created by User:Wilfreddv. The name "qualm" was chosen to reflect the uneasy feeling you get when looking at it.

Examples

Hello, world!

v'Hello, world!:!

The v'...: stores the string Hello, world! into the working cell. The ! prints it out.

Truth machine

.i{w=1{!}

The `.` reads from standard input, and gets converted to an integer using `i`. If the result is `1`, it enters a loop that prints `1`. Since `w` isn't changed inside the loop, it will run infinitely.

Fibonacci sequence

v2>0v1>1{s1<=100{!iv'\n:!<1+<0s0}

This code will compute the Fibonacci sequence up until a 100.