You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kurisu-lambda/test.klambda

23 lines
538 B

INCLUDE:./lib/aids.klambda
(def a (id (id "desu")))
(spit
("lol swej" (+ 9000 1) a))
(spit (cond (= "10" (+ 1 9)) "same" "not same"))
(cond ("", (+ 0 1))
(id spit "one")
(id spit "zero"))
(spit "how old are you? > ")
(def age (conv number (input)))
(spit
(cond (> age 18)
"adult (hag)"
"not adult (uoh)"))
loop:0:100:(spit (cond (% counter 15) (cond (% counter 5) (cond (% counter 3) counter "fizz") "buzz") "fizzbuzz"))
(def moeblob ("moe" "moe~" "kyun!!"))
loop:0:(- (length moeblob) 1):(spit (at counter moeblob))
(thesis)