Mais conteúdo relacionado Semelhante a MacroPyがすごい (20) Mais de Takashi Kawachi (12) MacroPyがすごい2. Who am I
• Software engineer
• Python は 2000年代に少し
• 普段は Scala を中心に活動してます
• Twitter: @kawachi
3. MacroPy
• Macros in Python: quasiquotes, case classes, LINQ
and more!
• https://github.com/lihaoyi/macropy
8. 他にも魅力的なものが沢山
• Quick Lambda, Lazy, Interned
• Tracing, Smart Asserts, show_expanded
• MacroPEG
• Pattern Matching
• Tail-call Optimization
• PINQ to SQLAlchemy (LINQ clone)
• Pyxl Snippets (XML interpolation)
• JS Snippet (compiling Python snippets to Javascript)
10. PEP 0302 を使った他のもの
• zipimport (標準ライブラリ)
• Zip アーカイブからモジュールを import する
• hy http://docs.hylang.org
• Hy is a wonderful dialect of Lisp that’s
embedded in Python.
• lisp っぽく python が書ける
12. case class も string interpolation も
最初から付いてる言語あります!
Scala