<s> from pyscribe import pyscribe <EOL> def main ( ) : <EOL> ps = pyscribe . Scriber ( ) <EOL> x = <NUM_LIT:5> <EOL> ps . p ( x ) <EOL> bar = "<STR_LIT:foo>" <EOL> for i in range ( <NUM_LIT:5> ) : <EOL> bar += str ( i ) <EOL> ps . iterscribe ( bar ) <EOL> y = "<STR_LIT:hello>" <EOL> ps . p ( y ) <EOL> ps . watch ( y ) <EOL> y = "<STR_LIT>" <EOL> foo = <NUM_LIT> <EOL> ps . d ( foo ) <EOL> ps . d ( foo , unit = "<STR_LIT>" ) <EOL> synonyms = { "<STR_LIT>" : "<STR_LIT>" , "<STR_LIT>" : "<STR_LIT>" , "<STR_LIT>" : "<STR_LIT>" } <EOL> ps . p ( synonyms ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
