<s> from chasha import Chasha , Directory <EOL> app = Chasha ( ) <EOL> @ app . route ( '<STR_LIT>' ) <EOL> def foo ( ) : <EOL> return """<STR_LIT>""" <EOL> @ app . route ( '<STR_LIT>' ) <EOL> def bar ( ) : <EOL> d = Directory ( "<STR_LIT>" ) <EOL> d . add_child ( "<STR_LIT>" ) <EOL> d . add_child ( "<STR_LIT>" ) <EOL> d . add_child ( "<STR_LIT>" ) <EOL> return d <EOL> @ app . default ( ) <EOL> def default ( ) : <EOL> d = Directory ( "<STR_LIT:/>" ) <EOL> d . add_child ( [ <NUM_LIT:0> , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT:127.0.0.1>" , "<STR_LIT>" ] ) <EOL> d . add_child ( "<STR_LIT>" ) <EOL> d . add_child ( "<STR_LIT>" ) <EOL> d . add_child ( Directory ( "<STR_LIT>" , port = <NUM_LIT> , name = "<STR_LIT>" ) ) <EOL> return d <EOL> app . run ( ) </s>
