view src/ploki/examples/subst.pk @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
INSERT perl-util.pk HERE
NEXT main

FOR mod "double \V\@ -> \V(\@ * 2)
KTHX \@ * 2

FOR main
	LET s @LEGS \EING
	IF s : ""
		END
	FI
	@s///g #<s ".!?d!+" @OMFG(@mod \@)#>
	NEXT main