-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhello.berd
35 lines (33 loc) · 1.3 KB
/
hello.berd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// dreamberd (now known as C) hello world example ¯\_(ツ)_/¯
// see: https://github.com/TodePond/C
\\ comments can go anyway, who needs escape characters lol
vote delete vote! // experimental feature, see
// https://github.com/TodePond/C/issues/115 (or don't)
// note: -3 indentation level, idiomatic and elegant
async func main() {
Date.now() -= 3600000!!!!!!!!!!!!!!!! // timetravel
// feeling lazy, will let Lu will fill in the other ')'
print(name¡ // 3 <- negative priority and time fork
noop! // 1 <- double extra sure no race conditions
const const name = read()! // 0
reverse!!!!!!!!! // -1 <- killer feature, start counting at -1!!!
}
// note: untested, berd has zero runtime errors, scared to run this. forgive me
main()!!! // priority of 3 is approximately priority of pi
// pi is a perfect circle
// ergo, no more time travel paradoxes when called
// embody zen
delete class!
delete time!
delete const!
delete var!
delete print!
delete reverse!
delete async!
delete func!
delete mind!
delete self!
delete main!
// achieve enlightenment
delete delete!
\\ praise be to y̴̨̮͋̈́v̴̙̏͑ĥ̵̙̻̕'̷̼̔å̸͎͊t̸̳̓h̵̩̍r̵͖̝̈́h̴͍̝̀̇i̸̧͚̔̚g̵͇̗̀, and the benevolent Lu Wilson (真人)