diff --git a/lib/kokoro.klambda b/lib/kokoro.klambda index a032fd0..33327b3 100644 --- a/lib/kokoro.klambda +++ b/lib/kokoro.klambda @@ -6,4 +6,5 @@ "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 + ("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/main.py b/main.py index d4c0af4..9fb8054 100644 --- a/main.py +++ b/main.py @@ -32,6 +32,7 @@ def expand(file, path): args, exp = defs[parts[0]] for arg_idx, arg in enumerate(parts[1:]): + if len(args) < 1: break exp = exp.replace( args[arg_idx], arg )