add <3 macro

master
cynic 3 years ago
parent c10837c119
commit 265b8e3dfb
  1. 1
      lib/kokoro.klambda
  2. 1
      main.py

@ -7,3 +7,4 @@
(defun thesis
(spit
("this language belongs to makise kurisu. there are many like it, but this one is hers.")))
DEFINE:<3:(thesis)

@ -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
)

Loading…
Cancel
Save