diff --git a/lib/aids.klambda b/lib/aids.klambda index 6309254..a6ba3dc 100644 --- a/lib/aids.klambda +++ b/lib/aids.klambda @@ -2,13 +2,5 @@ : i'm hilarious. INCLUDE:./loop.klambda - -(defun spit - (miracle - "builtins" "print" (id $1))) -(defun input - (miracle - "builtins" "input" (""))) -(defun thesis - (spit - ("this language belongs to makise kurisu. there are many like it, but this one is hers."))) \ No newline at end of file +INCLUDE:./lists.klambda +INCLUDE:./kokoro.klambda \ No newline at end of file diff --git a/lib/kokoro.klambda b/lib/kokoro.klambda new file mode 100644 index 0000000..a032fd0 --- /dev/null +++ b/lib/kokoro.klambda @@ -0,0 +1,9 @@ +(defun spit + (miracle + "builtins" "print" (id $1))) +(defun input + (miracle + "builtins" "input" (""))) +(defun thesis + (spit + ("this language belongs to makise kurisu. there are many like it, but this one is hers."))) \ No newline at end of file diff --git a/lib/lists.klambda b/lib/lists.klambda new file mode 100644 index 0000000..bc1896f --- /dev/null +++ b/lib/lists.klambda @@ -0,0 +1,3 @@ +(defun length + (miracle + "builtins" "len" ((id $1)))) \ No newline at end of file