/UwU-lang

an esoteric programming language UwU

Primary LanguageHaskell

UwU-lang

[Deprecated]

Development has moved to UwUpp

This project was cobbled together haphazardly in around a week as an experiment for me to learn haskell and combinatory parsing. While the result was beautiful, the code base lacked stability/perfromance/maintenance/readability etc. To reach the full potential uwu based programing can reach, i decided to rewrite everything. The result is the next generation of UwU-lang, UwUpp!

I'll keep this repo here for historical value

About

UwU-lang is a imperative programming language which aims to compete with brainf*ck to be the most painfull programming language to read and write in.

UwU-lang's parser and evaluator is written haskell with no external dependencies except the standard library

Currently the only way to run UwU files is via the interpreter, which can be built by following the instructions in Build or downloaded from the releases. A UwU-lang compiler is currently under works.

The language is not stable, both in semantics and operation so it is not advised to use UwU-lang in production.

Code example:

Hello World

UwU?
nuzzels "Hewwo World"

finds the first Fibonacci number above 100

UwU is this fibonacci?

a iws 1
b iws 1
c iws 0

OwO *notices 100 gweatew than a *
    c iws b 
    b iws b pwus a
    a iws c
    n iws n pwus 1
stawp

nuzzels a

Documentation can be found in the wiki

Build:

  1. Make sure you have the haskell compiler ghc installed
  2. pull the repository
  3. run ghc main.hs -O2 -o UwU

Usage:

run a UwU file by using it as an argument with the interpeter: UwU test.uwu