From Esolang
Jump to: navigation, 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