• Stars
    star
    274
  • Rank 150,274 (Top 3 %)
  • Language
    Haskell
  • License
    BSD 3-Clause "New...
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The next generation esoteric language

UwU++ : Degeneracy evolved©

warning: WIP

Index:

Information:

Syntax spec in the wiki

  • Have you ever felt that you can't express yourself with todays languages?
  • Do you have problem of being too respected as a programmer/human being?
  • Are you a person who enjoys pain?

UwU++ is a imperative programming language which aims to compete with brainf*ck to be the most painfull programming language to read and write in. As the next evolution of UwU-Lang, it retains all of the "charm" with new features like:

  • Arrays
  • Functions
  • <,=,> comparators
  • division,minus operators
  • If statements
  • Actual error messages in the parser
  • Runtime printing

TODO:

  • Compiler
  • Webasm target

Installation

UwUpp is in the AUR as uwupp-git. Its only dependency is stack. For all other systems:

  1. Install stack
  2. Enter the root folder of this project and run stack install
  3. The previous command will place the interpreter binary in the directory given by stack path --local-bin, usually ~/.local/bin.

Examples

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 twan b *
    c iws b
    b iws b pwus a
    a iws c
stawp

nuzzels(b)

print all prime numbers under 1000

UwU is twis the numbwe of pwimes undwe 1000?
wimit iws 1000
siewe iws awway<wimit>
i iws 2
OwO *notices i wess twan wimit diwide 10*
    *notices siewe[i] eqwall twoo 0*
        j iws i twimes i
        c iws 0
        OwO *notices j pwus c wess twan wimit*
            siewe[j pwus c] iws 1
            c iws c pwus i
        stawp
    stawp
    i iws i pwus 1
stawp


i iws 2
count iws 0
OwO *notices i wess twan wimit*
    *notices siewe[i] eqwall twoo 0*
        nuzzels(i)
        count iws count pwus 1
    stawp
    i iws i pwus 1
stawp

nuzzels("Towtal numbwa of pwimes:")
nuzzels(count)

Print the nth Fibonacci number, now with recursion!

nyaa *fiwb(a)*
    *notices a gweatew twan 1*
        c iws fiwb(a minwus 1) pwus fiwb(a minwus 2)
    stawp
    *notices a eqwall twoo  1*
        c iws 1
    stawp
    *notices a eqwall twoo 0*
        c iws 0
    stawp
wetuwn c

nuzzels(fiwb(20))

UwU++ webserver

UwU? iws twis a websewer?
UwU Run this as "while true; do UwUpp-exe ./examples/webserver.uwu | nc -l 9090 -q 1; done"

http iws "HTTP/1.0 200 UwU iws twis a websever???\r\n Server: UwU++\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n"


UwU? is this dynawic contwent?
nyaa *fiwb(a)*
    *notices a gweatew twan 1*
        c iws fiwb(a minwus 1) pwus fiwb(a minwus 2)
    stawp
    *notices a eqwall twoo  1*
        c iws 1
    stawp
    *notices a eqwall twoo 0*
        c iws 0
    stawp
wetuwn c

dynawic iws fiwb(20)

htmlStawt iws "<html>
                <head></head>
                <body>
                    <h1>"

htmlStawp iws " </h1>
            </body>
        </html>"

nuzzels(http pwus htmlStawt pwus dynawic pwus htmlStawp)

More Repositories

1

UwU-lang

an esoteric programming language UwU
Haskell
27
star
2

BallisticSim

Ballistic simulator built in c++ with qt.
C++
2
star
3

Treynary

A Steganography tool in python to hide messages in images
Python
1
star
4

wheres-wally

Elixir
1
star
5

chalmers.it-proto

Prototype for the new chalmers.it site
JavaScript
1
star
6

CalmingTeaFriends_Web

JavaScript
1
star
7

FunkyChess

Commandline chess in Haskell
Haskell
1
star
8

MLisp

Experimenting with CIFAR-10 image recognition using lisp
Common Lisp
1
star
9

hackIT

coding challenges for IT
Python
1
star
10

node_backend_lecture-code

CSS
1
star
11

aoc2021

Haskell
1
star
12

aoc-2022

C#
1
star
13

Graceful-Balls

A fully ellastic collision simulator
JavaScript
1
star
14

tetris-hs

Tetris in haskell
Haskell
1
star
15

Atlas

Media indexer/scraper
Python
1
star
16

lab2

Java
1
star
17

adventofcode-2020

Haskell
1
star
18

movieLink

Clean and Link media files files from one dir to another
Haskell
1
star
19

deltaphish.github.io

HTML
1
star
20

hackIT_ng

Programing challenge site for IT students at Chalmers
Rust
1
star
21

rusty_monads

Monadic do notation in rust
Rust
1
star
22

discord-bot

bot for kappa pride
JavaScript
1
star
23

aoc-2023

Advent of code 2023 (or "this time I will actually finish this!")
Dockerfile
1
star
24

WSP_Joakim

WSP eget projekt joakim te15a
PHP
1
star
25

miscFiles

Some files that have no real connection to eachother
1
star
26

hexIT

color information site for chalmers IT
HTML
1
star
27

Atlas-ng

Media indexer solution
Haskell
1
star
28

craftIT_v2

a docker-compose for a spigot minecraft server with metrics
Shell
1
star
29

AquaFox

Water simulation in OpenGL
C
1
star
30

Trajectory.py

Projectile Trajectory
Python
1
star