Example Pep script
read; # the lexing phase of the script ![:space:] { whilenot [:space:]; put; clear; add "word*"; push; .reparse } # the parsing/compiling phase parse> pop; pop; "word*word*", "text*word*" { clear; get; add " "; ++; get; --; put; clear; add "text*"; push; .reparse }
pep -e "read;print;print;clear;" -i "abcd"