Py_Trans:自定义Python语法 源码
Python_Trans 使用自定义python语法 定制语法 p "Hello World" inc = ( x ) => x + 1 add ( x , y ) => x + y print ( ! [ inc => 1. .6 ] ) print | inc | inc ( 1 ) try inc ( "1" ) Exception print ( "Error:" , err ) test = "test" = test . replace ( "test" , "" ) x = True print ( ( x || False ) ? "Done" : "Failed" ) print ( 'x is not defined' ) if ! x 原始语法 print ( "Hello World" ) inc = lambda x : x + 1 add = lambda x
用户评论