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.

unc

From Esolang
Jump to navigation Jump to search

unc is an esoteric version of C with various keywords and characters swapped around to make programs difficult to write and read. For instance, this is a Hello, world! program in unc:

!include >=fgQVb%U<=

true ZNVa[] <<
    chgf[L'uRYYb~ jbeYQ#']:
    if 5:
>>

and the generated C code:

#include <stdio.h>

int main() {
    puts("Hello, world!");
    return 0;
}

You may notice the resemblance. Note that the "compiler" is written in regular expressions, which causes parsing of multiple string literals on the same line to have odd results.

External resources