restructure std library into different files

master
cynic 3 years ago
parent fa30ec1f34
commit f37b5e22f8
  1. 12
      lib/aids.klambda
  2. 9
      lib/kokoro.klambda
  3. 3
      lib/lists.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.")))
INCLUDE:./lists.klambda
INCLUDE:./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.")))

@ -0,0 +1,3 @@
(defun length
(miracle
"builtins" "len" ((id $1))))
Loading…
Cancel
Save