CookeyLang's BIGGEST enemy
h
Coder100 (6313)

Gnal_yekooc

Gnal_yekooc goes against everything CookeyLang stands for and more!

About

It uses snake_case and does not look like C, JS, or any language in general. It creates the problem of semicolons by not having them, forcing me to force a few assumptions on what the user is trying to do here and there. Also by the way, it's file extension is .flc (the evil File that contains )

Reason

I made this in 2 minutes to show you how awesome our codebase is and how easy it is to make it "better". Also CookeyLang 3 will be as promised but it will be delayed until the judges judge so we don't get disqualified.

Syntax

Can you guess what this code does?

mble Human s || human
  mke l name, age r s || name, age
    slf.name = name || name
    slf.age = age || age
  e

  greet l r s prnt_l l "what is up bro my name is " + slf.name r e || greet
e

mble Coder cpy Human s || Coder.Human
  mke l name, age, lang r s || name, age, lang
    slf.name = name || name
    slf.age = age || age
    slf.lang = lang || lang
  e

  cry l r s prnt_l l "*sob* my " + slf.lang + " program not working" r e || cry
e


mut coder100 = Human l "Coder100", 100 r || mut.coder100

coder100.greet l r || greet

unmut bookie0 = Coder l "Bookie0", 34, "JS" r || mut.bookie0
bookie0.cry l r  || cry

Well, I won't tell you because I am a big meanie haha!
Also, this language will still be worked on to make it even more obscure.

Explanation

To define a function:

fn function_name l argument, argument, argument r s
  || code
  || and yes, this is a comment.
e

To do a class

mble class_name s
  mke l r s || this is your constructor
    slf || this is cookey's 'this'.
  e
e

ok I think you can figure the rest out now :)
Just kidding

Notation

To make sure EVERYONE hates us,

|*
multiline comment
*|
|| single line comment
l = (
r = )
s = {
e = }
prnt_l = printLine
prnt = print
clr = clearConsole

Closing

CookeyLang is the best. Need I say more?

You are viewing a single comment. View All