<s> import Test <EOL> import sys <EOL> from Plex import * <EOL> spaces = Rep1 ( Any ( "<STR_LIT>" ) ) <EOL> lex = Lexicon ( [ <EOL> ( Bol + Rep1 ( Str ( "<STR_LIT:a>" ) ) , '<STR_LIT>' ) , <EOL> ( Rep1 ( Str ( "<STR_LIT:b>" ) ) , '<STR_LIT>' ) , <EOL> ( Rep1 ( Str ( "<STR_LIT:c>" ) ) + Eol , '<STR_LIT:end>' ) , <EOL> ( Bol + Rep1 ( Str ( "<STR_LIT:d>" ) ) + Eol , '<STR_LIT>' ) , <EOL> ( spaces , IGNORE ) <EOL> ] , <EOL> debug = Test . debug , <EOL> timings = sys . stderr <EOL> ) <EOL> Test . run ( lex , "<STR_LIT>" , trace = <NUM_LIT:0> ) </s>
