diff --git a/lib/kokoro.klambda b/lib/kokoro.klambda index 29eb52d..6d2fdfd 100644 --- a/lib/kokoro.klambda +++ b/lib/kokoro.klambda @@ -1,10 +1,11 @@ -(defun spit +(def spit (lambda (cunny) + (miracle + "__builtins__" "print" (id cunny)))) + +(def input (lambda () (miracle - "__builtins__" "print" (id $1))) -(defun input - (miracle - "__builtins__" "input" (""))) -(defun thesis + "__builtins__" "input" ("")))) +(def thesis (lambda () (spit - ("this language belongs to makise kurisu. there are many like it, but this one is hers."))) + ("this language belongs to makise kurisu. there are many like it, but this one is hers.")))) DEFINE:<3:(thesis) \ No newline at end of file diff --git a/lib/lists.klambda b/lib/lists.klambda index 124e24a..52e9147 100644 --- a/lib/lists.klambda +++ b/lib/lists.klambda @@ -1,6 +1,6 @@ -(defun length +(def length (lambda (cunny) (miracle - "__builtins__" "len" ((id $1)))) + "__builtins__" "len" (cunny)))) -(defun append - (insert (length $2) $1 $2)) +(def append (lambda (item, victim) + (insert (length victim) item victim)))