view src/ploki/examples/reset.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
IF @NOT ("foo" ~ "{.}0!") | (\0 ; "o")
	"error
	END -1
FI
IF "foo" ~ "b"
	"error
	END -1
FI
IF @DEF-P \0
	"ARGH: match variable not reset
	END -1
FI
"ok