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

36 lines
449 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)"
)
)
)
(defun loop
(all
(spit ($1))
(cond (= $1 $2)
$1
(loop (+ $1 1) $2)
)
)
)
(loop 0 5)
(thesis)